/* DIVISION: printing. The shared shell is shell.css. */

body[data-division="printing"] {
  background: #070708;
}

h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  letter-spacing: 0.02em;
  line-height: 0.88;
  text-transform: uppercase;
}

.section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--header) + 8px);
}

.kicker,
.trust li,
.make h3,
.svc h3,
.step h3,
.faq summary {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  margin-top: 14px;
  color: var(--body);
}

.legal {
  white-space: nowrap;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: calc(100svh - 12rem);
  overflow: hidden;
  background: #070708;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  display: block;
}

.hero-media img {
  object-fit: cover;
  object-position: 40% 45%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 7, 8, 0.78) 0%,
    rgba(7, 7, 8, 0.55) 22%,
    rgba(7, 7, 8, 0.22) 42%,
    rgba(7, 7, 8, 0) 60%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
  padding: 28px 0 36px;
}

.hero-copy .hero-mark,
.hero-copy .trust,
.hero-copy h1,
.hero-copy .hero-sub,
.hero-copy .actions {
  max-width: 34rem;
}

.hero-mark {
  width: min(210px, 62%);
  height: auto;
  margin-bottom: 18px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.trust li {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 7, 8, 0.45);
}

.hero h1 {
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.7rem, 12vw, 6.1rem);
  letter-spacing: 0.01em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero-sub {
  max-width: 28rem;
  margin-top: 16px;
  color: #f2f2f4;
  font-size: 1.12rem;
  font-weight: 500;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* Before / after */

.ba {
  padding-top: 0;
}

.ba-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #101012;
}

.ba-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 60%;
}

.ba-tags {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 56px 16px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ba-tags span {
  padding: 4px 2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.ba-copy {
  padding-top: 28px;
}

.ba-copy p {
  max-width: 38rem;
  margin-top: 12px;
}

/* What we make */

.make-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

#repairs .make-grid + .lede {
  margin-top: 28px;
}

#repairs .repair-include {
  max-width: 36rem;
  margin-top: 28px;
}

.make-grid li {
  padding: 18px 16px 20px;
  background: #101013;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.make-grid span {
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.make-grid h3 {
  margin: 8px 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 0.95;
}

.make-grid p {
  color: var(--body);
  font-size: 0.98rem;
}

/* Image-led services */

.stack {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  background: #101013;
  border: 1px solid var(--line);
  overflow: hidden;
}

.shot {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: #161618;
}

.shot picture,
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shot img {
  object-fit: cover;
}

.scan-photo {
  object-position: 62% center;
}

.feature-body {
  padding: 24px 20px 28px;
}

.num {
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.feature h3,
.block h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
}

.feature-body p + p,
.block p + p {
  margin-top: 10px;
}

.split-copy {
  display: grid;
}

.block {
  padding: 24px 20px;
}

.block + .block {
  border-top: 1px solid var(--line);
}

.limit {
  margin-top: 16px;
  max-width: 44rem;
  padding-left: 14px;
  border-left: 3px solid var(--red);
}

.limit strong,
.callout strong {
  color: #fff;
  font-weight: 500;
}

/* Process */

.steps {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  border-top: 2px solid var(--red);
  padding-top: 12px;
}

.step-num {
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}

.step h3 {
  margin: 8px 0;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.05;
}

/* Product plate */

.product {
  display: grid;
  gap: 22px;
  align-items: center;
}

.plate {
  position: relative;
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(var(--red), var(--red)) left 12px top 12px / 16px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) left 12px top 12px / 2px 16px no-repeat,
    linear-gradient(var(--red), var(--red)) right 12px top 12px / 16px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) right 12px top 12px / 2px 16px no-repeat,
    linear-gradient(var(--red), var(--red)) left 12px bottom 12px / 16px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) left 12px bottom 12px / 2px 16px no-repeat,
    linear-gradient(var(--red), var(--red)) right 12px bottom 12px / 16px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) right 12px bottom 12px / 2px 16px no-repeat,
    #121216;
  border: 1px solid var(--line);
}

.plate-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("/img/heater-fitting.jpg") center / cover no-repeat;
}

.plate-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 24px;
  text-align: center;
}

.plate-mark {
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
}

.plate-kicker {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.plate-file {
  color: var(--muted);
  font-size: 0.92rem;
}

.soon {
  margin-bottom: 8px;
  color: var(--red-ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.callout {
  margin-top: 16px;
  padding: 14px 16px;
  background: #16080c;
  border: 1px solid rgba(200, 16, 46, 0.55);
}

/* About */

.about p {
  max-width: 40rem;
}

.about p + p {
  margin-top: 12px;
}

.about-mark {
  width: min(240px, 70%);
  height: auto;
  margin-bottom: 18px;
}

/* FAQ */

.faq-list {
  max-width: 46rem;
  margin-top: 8px;
  border-bottom: 1px solid var(--line);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 12px 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.1;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--red-ink);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  max-width: 40rem;
  margin: 0 0 16px;
  color: var(--body);
}

/* Quote */

.quote-panel {
  display: grid;
  gap: 28px;
  padding: 22px 18px 26px;
  background: #101013;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.quote-mark {
  width: min(180px, 60%);
  height: auto;
  margin-bottom: 8px;
}

.email-list {
  display: grid;
  gap: 16px;
  margin: 16px 0 18px;
}

.email-list a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email-list a:hover {
  color: var(--red-ink);
}

.email-list span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.snap {
  margin-top: 18px;
  color: var(--body);
}

.include-label {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.include li {
  position: relative;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid var(--line);
}

.include li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 2px;
  background: var(--red);
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s ease both;
  }

  .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }

  .reveal {
    animation: rise 0.7s ease both;
  }

  .shot img,
  .ba-frame img {
    transition: transform 0.6s ease;
  }

  .feature:hover .shot img,
  .feature:focus-within .shot img,
  .ba-frame:hover img {
    transform: scale(1.045);
  }

  .make-grid li {
    transition: border-color 0.2s ease, transform 0.2s ease;
  }

  .make-grid li:hover {
    border-color: rgba(200, 16, 46, 0.7);
    transform: translateY(-3px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 859px) {
  .feature.flip .shot {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .scan-photo {
    object-position: 68% center;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(7, 7, 8, 0.82) 0%,
      rgba(7, 7, 8, 0.55) 38%,
      rgba(7, 7, 8, 0.18) 68%,
      rgba(7, 7, 8, 0) 100%
    );
  }

  .hero-media img {
    object-position: 40% 45%;
  }
}

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

  .email-list {
    grid-template-columns: 1fr 1fr;
  }

  .ba-frame {
    aspect-ratio: 2.35 / 1;
  }
}

@media (min-width: 860px) {
  .section {
    padding: 88px 0;
  }

  .hero {
    align-items: flex-end;
    min-height: calc(100svh - 4.5rem);
  }

  .hero-copy {
    padding-bottom: 56px;
  }

  .hero-mark {
    width: 260px;
  }

  .feature {
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 420px;
  }

  .feature.flip .shot {
    order: 2;
    aspect-ratio: 16 / 10;
    min-height: 0;
    align-self: center;
  }

  .shot {
    min-height: 100%;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .product,
  .quote-panel {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 36px;
    align-items: center;
  }

  .quote-panel {
    padding: 36px 32px;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .make-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .make-grid li:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .make-grid li:nth-child(n + 4) {
    grid-column: span 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .reveal,
  .shot img,
  .ba-frame img,
  .make-grid li {
    animation: none;
    transition: none;
    transform: none;
  }
}
