/* Home Technology & Networks */

.home-hero::before {
  background: linear-gradient(175deg, #1c1b1a, var(--cts-color-bg) 34rem);
}

.home-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.home-hero .cts-display {
  max-width: none;
  font-size: clamp(2.625rem, 4.42vw, 4.5rem);
}

.home-hero .cts-lead {
  max-width: 34rem;
}

.home-hero__copy .cts-eyebrow {
  margin-top: var(--cts-space-3);
}

.home-hero__scene {
  width: min(100%, 37rem);
  justify-self: center;
}

.house-scene {
  display: block;
  width: 100%;
  height: auto;
  stroke-width: 1.4;
}

.house-scene__datum {
  stroke: #3d3c3b;
  stroke-width: 1;
}

.house-scene__room {
  fill: #1a1918;
}

.house-scene__structure {
  fill: #333234;
  stroke: #837c73;
}

.house-scene__seam {
  stroke: #a75c4e;
}

.house-scene__furniture {
  fill: #272625;
  stroke: #77716a;
}

.house-scene__devices {
  fill: #292827;
  stroke: #b6afa3;
}

.house-scene__signal {
  stroke: var(--cts-color-gold);
  stroke-width: 1.65;
}

.house-scene__signal circle {
  fill: var(--cts-color-gold);
}

@media (min-width: 880px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  }
}

/* The service illustrations use one scale and one gold detail per scene. */
.home-work {
  padding-top: 0;
}

.home-work__stack {
  display: grid;
  gap: clamp(3.75rem, 8vw, 7.5rem);
}

.home-work__list {
  display: grid;
  border-top: 1px solid var(--cts-color-line-strong);
}

.deliverable {
  display: grid;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4.5rem);
  padding-block: clamp(1.65rem, 3.2vw, 3rem);
  border-bottom: 1px solid var(--cts-color-line-strong);
}

.deliverable__copy {
  max-width: 34rem;
}

.deliverable__copy .cts-tile__text,
.conversation-plate__copy .cts-tile__text {
  font-size: clamp(1.0625rem, 1rem + .32vw, 1.1875rem);
  line-height: 1.65;
}

.deliverable__figure {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  padding-inline: clamp(.25rem, 1.5vw, 1.5rem);
  border: 1px solid #353436;
  border-radius: var(--cts-radius-lg);
  background: linear-gradient(166deg, #282726, #191817 72%);
}

.deliverable__figure::after {
  content: "";
  position: absolute;
  inset: .6rem;
  border: 1px solid rgb(185 182 175 / .1);
  border-radius: calc(var(--cts-radius-lg) - .6rem);
  pointer-events: none;
}

.deliverable__svg {
  display: block;
  width: min(100%, 25rem);
  height: auto;
  color: #aaa39a;
  stroke-width: 1.5;
}

.deliverable__grid, .deliverable__hatch {
  color: #575452;
}

.deliverable__field {
  color: #7b7160;
  stroke-dasharray: 2 4;
}

.deliverable__svg rect {
  fill: #2d2b2b;
}

.deliverable--transfer .deliverable__svg rect.cts-art-accent {
  fill: #3b3023;
}

@media (min-width: 760px) {
  .deliverable {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deliverable:nth-child(even) .deliverable__figure {
    grid-column: 1;
    grid-row: 1;
  }
}

/* Project checklist and the next step */
.conversation-plate {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.75rem);
  padding: clamp(1.25rem, 4.5vw, 3.5rem);
  background: linear-gradient(150deg, #292827, #191817 72%);
}

.conversation-plate__copy .cts-tile__text + .cts-tile__text {
  margin-top: var(--cts-space-3);
}

.conversation-plate__copy .cts-tile__foot {
  margin-bottom: var(--cts-space-3);
}

.conversation-plate .separate-note {
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--cts-color-text-secondary);
}

.conversation-plate__sheet {
  padding-inline: clamp(.75rem, 3vw, 1.75rem);
  border: 1px solid #474342;
  border-radius: var(--cts-radius-lg);
  background: #161514;
}

.ruled-checklist {
  list-style: none;
}

.ruled-checklist__row {
  display: grid;
  grid-template-columns: 1.625rem minmax(0, 1fr);
  align-items: center;
  gap: var(--cts-space-3);
  min-height: 3.75rem;
  padding-block: var(--cts-space-2);
}

.ruled-checklist__row + .ruled-checklist__row {
  border-top: 1px solid var(--cts-color-line-strong);
}

.ruled-checklist__box {
  display: grid;
  place-items: center;
  color: #847a6b;
}

.ruled-checklist__box svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ruled-checklist__label {
  color: var(--cts-color-text);
}

@media (min-width: 900px) {
  .conversation-plate {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.related-service {
  padding-bottom: clamp(3.75rem, 8vw, 7.5rem);
}

.related-service__tile {
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem 1.75rem;
  padding: var(--cts-space-4) clamp(1rem, 3vw, 2rem);
  border-left: 2px solid var(--cts-color-gold);
  border-radius: var(--cts-radius-md);
  background: #141415;
}

@media (min-width: 760px) {
  .related-service__tile {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.contact {
  background: linear-gradient(180deg, #191817, var(--cts-color-bg));
}

.contact__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
}

.contact__copy .cts-lead {
  max-width: 34rem;
  margin-top: var(--cts-space-5);
}

.contact__aside {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  padding-left: var(--cts-space-4);
  border-left: 1px solid #886a3e;
  color: var(--cts-color-text-secondary);
  font-family: var(--cts-font-family-display);
  font-size: clamp(1.375rem, 2.35vw, 2rem);
  font-weight: var(--cts-font-weight-semibold);
  line-height: 1.2;
}

.contact__aside em {
  color: var(--cts-color-gold);
  font-style: normal;
}

.contact__console {
  gap: var(--cts-space-4);
  padding: clamp(1.25rem, 3.2vw, 2.5rem);
  background: linear-gradient(165deg, #282726, #1b1a19 75%);
}

.contact__console .cts-select {
  min-width: 0;
  min-height: var(--cts-size-target);
  border-color: #817a71;
}

.contact__console .cts-btn {
  width: 100%;
}

.contact__direct {
  display: grid;
  justify-items: start;
  padding-top: var(--cts-space-2);
  border-top: 1px solid var(--cts-color-line-strong);
}

.contact__direct a {
  display: inline-flex;
  align-items: center;
  min-height: var(--cts-size-target);
  max-width: 100%;
  color: var(--cts-color-text);
  text-decoration: underline;
  text-decoration-color: #817a71;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.contact__direct a:hover {
  color: var(--cts-color-gold);
  text-decoration-color: currentColor;
}

.contact__console .cts-caption {
  color: var(--cts-color-text-secondary);
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .page-back, .contact :is(.cts-btn, .cts-select) {
    transition: none;
  }
}

/* Section diagram (go-live visuals): a drawn summary that breaks up a long run of text, most useful on phones.
   The SVG carries its own plate frame, so the figure only places and sizes it. */
.section-diagram { margin: 0; max-width: 32.5rem; }
.section-diagram img { display: block; width: 100%; height: auto; }
.contact__copy .section-diagram { margin-top: clamp(1.75rem, 4vw, 3rem); }
