/*
 * Template integration layer for DroneFlight Busch.
 * The parent-compatible design system lives in site.css; this file maps the
 * project's purpose-built PHP templates to those primitives.
 */

.shell {
  width: min(calc(100% - 2.5rem), var(--dfb-container));
  margin-inline: auto;
}

.brand__wordmark {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--dfb-ink);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.105em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__wordmark i {
  width: 1px;
  height: 1.15rem;
  margin-inline: 0.2rem;
  background: rgba(19, 42, 51, 0.34);
}

.brand__wordmark strong {
  color: var(--dfb-accent-dark);
  font-weight: 860;
}

.site-nav a.site-nav__cta {
  border-radius: 999px;
  background: var(--dfb-ink);
  box-shadow: 0 8px 22px rgba(19, 42, 51, 0.16);
  color: #fff;
}

.site-nav a.site-nav__cta:hover {
  background: var(--dfb-accent-dark);
  color: #fff;
}

a.button,
button.button {
  text-transform: none;
}

a.button.button--accent,
button.button.button--accent,
.btn.btn--accent {
  background: var(--dfb-accent-dark);
  color: #fff;
}

a.button.button--accent:hover,
button.button.button--accent:hover,
.btn.btn--accent:hover {
  background: var(--dfb-ink);
  color: #fff;
}

a.button.button--ghost {
  border-color: rgba(19, 42, 51, 0.2);
  background: rgba(255, 255, 255, 0.62);
  color: var(--dfb-ink);
}

.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.menu-toggle__icon i {
  display: none;
}

/* Home hero */
.hero__layout {
  display: grid;
  width: min(calc(100% - 2.5rem), var(--dfb-container));
  min-height: max(42rem, 92svh);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
  align-items: end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-inline: auto;
  padding-block: calc(var(--dfb-header-height) + clamp(2rem, 6vh, 5rem)) clamp(3.5rem, 7vh, 5.5rem);
}

.hero__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 240, 231, 0.1), transparent 65%);
}

.hero__panel > p {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: #34525d;
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.33rem);
  line-height: 1.55;
}

.hero__promise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.3rem;
  margin-top: 1.4rem;
  color: #405e68;
  font-size: 0.79rem;
  font-weight: 720;
}

.hero__promise span {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
}

.hero__promise span::before {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--dfb-green);
  content: "";
}

.hero__pipeline {
  align-self: end;
  padding: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--dfb-radius);
  background: rgba(13, 34, 42, 0.84);
  box-shadow: 0 22px 55px rgba(9, 24, 30, 0.25);
  color: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(0.9rem);
  backdrop-filter: blur(0.9rem);
}

.hero__pipeline > span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--dfb-sky);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.hero__pipeline strong {
  display: block;
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero__pipeline p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.55;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: 1.4rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll span {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

/* Shared section layouts */
.section--tint {
  background: var(--dfb-cream);
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.7fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.section-heading--split h2,
.section-heading--split p {
  margin-bottom: 0;
}

.section-heading--split > p {
  color: var(--dfb-muted);
  font-size: clamp(1.02rem, 1rem + 0.2vw, 1.2rem);
}

.process > article {
  position: relative;
  min-height: 13rem;
  padding: 1.6rem 1.35rem;
  border-top: 1px solid rgba(19, 42, 51, 0.2);
  counter-increment: dfb-process;
}

.process {
  counter-reset: dfb-process;
}

.process > article::after {
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--dfb-accent);
  content: "";
}

.process > article:last-child::after {
  content: none;
}

.process > article > span {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  margin-top: -3rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(19, 42, 51, 0.24);
  border-radius: 50%;
  background: var(--dfb-cream-soft);
  color: var(--dfb-ink);
  font-size: 0.72rem;
  font-weight: 850;
}

.process > article h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
}

.process > article p {
  margin: 0;
  color: var(--dfb-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.service-card {
  color: var(--dfb-ink);
  text-decoration: none;
}

.service-card--primary {
  border-color: transparent;
  background: var(--dfb-slate);
  color: #fff;
}

.service-card--primary::before {
  background: var(--dfb-sky);
}

.service-card--primary h3,
.service-card--primary .text-link {
  color: #fff;
}

.service-card--primary p {
  color: rgba(255, 255, 255, 0.74);
}

.service-card__number {
  position: absolute;
  top: 1.35rem;
  right: 1.45rem;
  color: var(--dfb-muted);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.service-card--primary .service-card__number {
  color: rgba(255, 255, 255, 0.6);
}

.service-card__graphic {
  position: relative;
  width: 4.6rem;
  height: 4.6rem;
  margin-bottom: 2.2rem;
  border: 1px solid rgba(19, 42, 51, 0.16);
  border-radius: 1.2rem;
  background: rgba(189, 211, 218, 0.27);
}

.service-card--primary .service-card__graphic {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.service-card__graphic--cloud i {
  position: absolute;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--dfb-sky);
  box-shadow: 0 0 0 0.16rem rgba(189, 211, 218, 0.12);
}

.service-card__graphic--cloud i:nth-child(1) { top: 28%; left: 24%; }
.service-card__graphic--cloud i:nth-child(2) { top: 58%; left: 31%; }
.service-card__graphic--cloud i:nth-child(3) { top: 38%; left: 55%; }
.service-card__graphic--cloud i:nth-child(4) { top: 68%; left: 67%; }
.service-card__graphic--cloud i:nth-child(5) { top: 20%; left: 72%; }

.service-card__graphic--solar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
  padding: 0.75rem;
  transform: perspective(7rem) rotateX(52deg) rotateZ(-16deg);
}

.service-card__graphic--solar i {
  border: 1px solid rgba(19, 42, 51, 0.38);
  background: var(--dfb-sky);
}

.service-card__graphic--frame i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-38%, -50%);
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.05rem solid var(--dfb-accent);
}

/* Point cloud */
.section--viewer {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(189, 211, 218, 0.14), transparent 34rem),
    linear-gradient(145deg, #10242c, #18353f 58%, #10272f);
  color: rgba(255, 255, 255, 0.76);
}

.section--viewer h2,
.section--viewer h3,
.section-heading--light h2 {
  color: #fff;
}

.section--viewer .eyebrow {
  color: var(--dfb-sky);
}

.section--viewer .section-heading--split > p {
  color: rgba(255, 255, 255, 0.68);
}

.pointcloud__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
}

.pointcloud-viewer canvas:focus-visible,
[data-pointcloud] canvas:focus-visible {
  outline: 3px solid var(--dfb-sky);
  outline-offset: -5px;
}

.pointcloud__meta .eyebrow {
  margin-bottom: 0.25rem;
  font-size: 0.64rem;
}

.pointcloud__meta p {
  margin: 0;
}

.viewer-link {
  margin-top: 2rem;
  text-align: center;
}

.button--light {
  background: var(--dfb-cream);
  color: var(--dfb-ink);
}

a.button.button--light {
  background: var(--dfb-cream);
  color: var(--dfb-ink);
}

.button--light:hover {
  background: #fff;
  color: var(--dfb-ink);
}

/* Makerspace and calls to action */
.makerspace-card {
  position: relative;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.8rem, 4vw, 3.8rem);
  overflow: hidden;
  border-radius: var(--dfb-radius-lg);
  background: var(--dfb-cream);
  box-shadow: var(--dfb-shadow-sm);
}

.makerspace-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
}

.makerspace-card p {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--dfb-muted);
}

.makerspace-card__mark {
  position: relative;
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border: 1px solid var(--dfb-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.makerspace-card__mark span {
  font-size: 1.7rem;
  font-weight: 760;
}

.makerspace-card__mark strong {
  position: absolute;
  top: 0.55rem;
  right: 0.75rem;
  color: var(--dfb-accent);
}

.button--dark {
  background: var(--dfb-ink);
}

a.button.button--dark {
  background: var(--dfb-ink);
  color: #fff;
}

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

.application-list a {
  display: grid;
  grid-template-columns: 3rem minmax(12rem, 0.8fr) minmax(16rem, 1.2fr);
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--dfb-line);
  color: var(--dfb-ink);
  text-decoration: none;
  transition: padding 180ms ease, background-color 180ms ease;
}

.application-list a:hover {
  padding-inline: 1rem;
  background: rgba(189, 211, 218, 0.18);
}

.application-list span {
  color: var(--dfb-accent-dark);
  font-size: 0.72rem;
  font-weight: 820;
}

.application-list small {
  color: var(--dfb-muted);
  font-size: 0.88rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.accordion {
  border-top: 1px solid var(--dfb-line);
}

.accordion details {
  border-bottom: 1px solid var(--dfb-line);
}

.accordion summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  color: var(--dfb-ink);
  font-weight: 760;
  list-style: none;
  cursor: pointer;
}

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

.accordion summary::after {
  position: absolute;
  top: 1rem;
  right: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--dfb-line);
  border-radius: 50%;
  content: "+";
  font-weight: 500;
  transition: transform 180ms ease;
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 54rem;
  padding: 0 3rem 1.35rem 0;
  color: var(--dfb-muted);
}

.section--contact-teaser {
  padding-top: 0;
}

.contact-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--dfb-radius-lg);
  background: var(--dfb-ink);
  color: rgba(255, 255, 255, 0.72);
}

.contact-teaser .eyebrow {
  color: var(--dfb-sky);
}

.contact-teaser h2 {
  margin-bottom: 0.6rem;
  color: #fff;
}

.contact-teaser p {
  margin: 0;
}

/* Subpage heroes */
.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero__inner > p {
  max-width: 48rem;
  margin-bottom: 1.8rem;
  color: var(--dfb-muted);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.45rem);
}

.page-hero__backdrop,
.page-hero__image {
  position: absolute;
  inset: 0;
}

.page-hero__backdrop span,
.page-hero__backdrop i,
.page-hero__backdrop b {
  position: absolute;
  border: 1px solid rgba(19, 42, 51, 0.1);
  border-radius: 50%;
}

.page-hero__backdrop span {
  top: 15%;
  right: 12%;
  width: 18rem;
  height: 18rem;
}

.page-hero__backdrop i {
  top: 34%;
  right: 20%;
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  background: var(--dfb-accent);
  box-shadow: 7rem 3rem 0 var(--dfb-sky), -5rem 7rem 0 var(--dfb-green), 3rem -2rem 0 var(--dfb-slate);
}

.page-hero__backdrop b {
  top: 26%;
  right: 5%;
  width: 26rem;
  height: 26rem;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.page-hero__image span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 27, 33, 0.86), rgba(11, 27, 33, 0.3) 70%);
}

.page-hero--media {
  background: #132a33;
}

.page-hero--media h1,
.page-hero--media .eyebrow {
  color: #fff;
}

.page-hero--media .page-hero__inner > p {
  color: rgba(255, 255, 255, 0.76);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 9rem);
}

.editorial-split .section-heading {
  margin-bottom: 0;
}

.prose {
  color: var(--dfb-muted);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.25rem);
}

.prose p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article {
  padding: 1.5rem;
  border-top: 1px solid var(--dfb-line);
}

.feature-grid article > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--dfb-accent-dark);
  font-size: 0.7rem;
  font-weight: 820;
}

.feature-grid h3 {
  font-size: 1.22rem;
}

.feature-grid p {
  margin: 0;
  color: var(--dfb-muted);
  font-size: 0.9rem;
}

.precision-card,
.scope-card,
.audience-card {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 8rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--dfb-radius-lg);
  background: var(--dfb-cream);
}

.precision-card__value {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.4rem;
  border-left: 0.25rem solid var(--dfb-accent);
}

.precision-card__value span {
  color: var(--dfb-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.precision-card__value strong {
  font-family: var(--dfb-font-display);
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
  font-weight: 600;
  line-height: 0.98;
}

.precision-card p,
.scope-card p,
.audience-card p {
  color: var(--dfb-muted);
}

.precision-card p:last-child,
.scope-card p:last-child,
.audience-card p:last-child {
  margin-bottom: 0;
}

.inline-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--dfb-line);
  border-radius: var(--dfb-radius);
  background: rgba(189, 211, 218, 0.13);
}

.inline-note p {
  margin: 0;
}

/* Solar */
.solar-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.solar-visual {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  border-radius: var(--dfb-radius-lg);
  background: linear-gradient(160deg, #dce9ec, #f0eadf);
}

.solar-visual__sun {
  position: absolute;
  top: 3rem;
  right: 4rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #efc97d;
  box-shadow: 0 0 0 1.6rem rgba(239, 201, 125, 0.15), 0 0 0 4rem rgba(239, 201, 125, 0.08);
}

.solar-visual__roof {
  position: absolute;
  right: 11%;
  bottom: 14%;
  display: grid;
  width: 72%;
  height: 45%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.35rem;
  padding: 1.7rem;
  transform: perspective(34rem) rotateX(56deg) rotateZ(-13deg);
  background: #d6d0c5;
  box-shadow: 2rem 2rem 0 rgba(19, 42, 51, 0.12);
}

.solar-visual__roof i {
  border: 2px solid #bdd3da;
  background: repeating-linear-gradient(90deg, #244b5a 0 1.2rem, #315d6d 1.2rem 1.28rem);
}

.solar-visual__shadow {
  position: absolute;
  right: 7%;
  bottom: 5%;
  width: 46%;
  height: 14%;
  transform: skewX(-25deg);
  border-radius: 50%;
  background: rgba(19, 42, 51, 0.13);
  filter: blur(1rem);
}

.scope-card h2,
.audience-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

/* Photo and video */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.media-card {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  border: 1px solid var(--dfb-line);
  border-radius: var(--dfb-radius);
  background: rgba(255, 255, 255, 0.74);
}

.media-card--dark {
  background: var(--dfb-slate);
  color: rgba(255, 255, 255, 0.75);
}

.media-card--dark h2 {
  color: #fff;
}

.media-card__icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  margin-bottom: 2rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--dfb-accent-dark);
  font-size: 0.76rem;
  font-weight: 820;
}

.media-card--dark .media-card__icon {
  color: var(--dfb-sky);
}

.media-card p {
  color: var(--dfb-muted);
}

.media-card--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.media-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--dfb-line);
  border-radius: var(--dfb-radius);
  background: var(--dfb-line);
}

.timeline > div {
  padding: 2rem;
  background: var(--dfb-cream-soft);
}

.timeline span {
  display: block;
  margin-bottom: 2rem;
  color: var(--dfb-accent-dark);
  font-size: 0.7rem;
  font-weight: 820;
}

.timeline strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
}

.timeline p {
  margin: 0;
  color: var(--dfb-muted);
  font-size: 0.9rem;
}

/* Application page */
.use-cases {
  display: grid;
  gap: 0;
}

.use-case {
  display: grid;
  grid-template-columns: 4rem minmax(18rem, 1.2fr) minmax(15rem, 0.7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--dfb-line);
  scroll-margin-top: calc(var(--dfb-header-height) + 2rem);
}

.use-case:last-child {
  border-bottom: 1px solid var(--dfb-line);
}

.use-case__number {
  color: var(--dfb-accent-dark);
  font-size: 0.73rem;
  font-weight: 840;
}

.use-case h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.use-case p {
  margin: 0;
  color: var(--dfb-muted);
}

.use-case ul {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  color: var(--dfb-muted);
  font-size: 0.88rem;
  list-style: none;
}

.use-case li {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--dfb-line);
}

/* Contact */
.contact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2.4rem;
}

.contact-facts span {
  display: grid;
  color: var(--dfb-muted);
  font-size: 0.78rem;
}

.contact-facts strong {
  color: var(--dfb-ink);
  font-size: 0.88rem;
}

.section--contact-form {
  background: var(--dfb-cream-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.contact-panel__intro {
  position: sticky;
  top: calc(var(--dfb-header-height) + 2rem);
}

.contact-panel__intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.contact-panel__intro p {
  color: var(--dfb-muted);
}

.contact-panel__form {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--dfb-line);
  border-radius: var(--dfb-radius-lg);
  background: #fff;
  box-shadow: var(--dfb-shadow);
}

.contact-panel__form form {
  display: grid;
  gap: 1.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field--honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.form-submit p {
  max-width: 30rem;
  margin: 0;
  color: var(--dfb-muted);
  font-size: 0.75rem;
}

.form-status {
  margin-bottom: 1.2rem;
}

.form-status--error {
  border-color: rgba(185, 104, 74, 0.5);
  background: rgba(185, 104, 74, 0.1);
  color: #7d3e2b;
}

/* Legal and prepared pages */
.legal-hero {
  padding-block: calc(var(--dfb-header-height) + 5rem) 4rem;
  background: var(--dfb-cream);
}

.legal-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.legal-hero p {
  max-width: 46rem;
  margin: 0;
  color: var(--dfb-muted);
  font-size: 1.15rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.52fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.legal-notice {
  position: sticky;
  top: calc(var(--dfb-header-height) + 2rem);
  padding: 1.25rem;
  border: 1px solid rgba(185, 104, 74, 0.32);
  border-radius: var(--dfb-radius-sm);
  background: rgba(185, 104, 74, 0.08);
  color: #70402f;
}

.legal-notice strong {
  display: block;
  margin-bottom: 0.4rem;
}

.legal-notice p {
  margin: 0;
  font-size: 0.84rem;
}

.legal-content {
  max-width: 58rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.placeholder {
  color: #8a4b35;
  background: rgba(185, 104, 74, 0.08);
}

.project-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-placeholder article {
  min-height: 18rem;
  padding: 2rem;
  border: 1px dashed rgba(19, 42, 51, 0.3);
  border-radius: var(--dfb-radius);
}

.project-placeholder article > span {
  color: var(--dfb-accent-dark);
  font-size: 0.72rem;
  font-weight: 820;
}

.about-placeholder {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.about-placeholder__image {
  display: grid;
  min-height: 34rem;
  place-items: center;
  border: 1px dashed rgba(19, 42, 51, 0.3);
  border-radius: var(--dfb-radius-lg);
  background: var(--dfb-cream);
  color: var(--dfb-muted);
}

.entry-content {
  max-width: 58rem;
}

.not-found {
  display: grid;
  min-height: 80svh;
  align-items: center;
  padding-block: calc(var(--dfb-header-height) + 4rem) 4rem;
  background: radial-gradient(circle at 80% 20%, var(--dfb-sky), transparent 30rem), var(--dfb-cream);
}

.not-found h1 {
  max-width: 12ch;
}

.not-found p {
  max-width: 38rem;
  color: var(--dfb-muted);
  font-size: 1.2rem;
}

/* Footer mapping */
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.75fr) minmax(10rem, 0.55fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-bottom: 3rem;
}

.site-footer .brand__wordmark,
.site-footer .brand__wordmark strong {
  color: #fff;
}

.site-footer .brand__wordmark i {
  background: rgba(255, 255, 255, 0.3);
}

.site-footer__brand > p {
  max-width: 28rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--dfb-font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.35;
}

.site-footer__contact,
.site-footer__nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.58rem;
}

.site-footer .eyebrow {
  margin-bottom: 0.45rem;
  color: var(--dfb-sky);
}

.site-footer__contact > a {
  color: #fff;
  font-weight: 700;
}

.site-footer__contact p {
  margin: 0;
  font-size: 0.78rem;
}

.site-footer__bottom > div {
  display: flex;
  gap: 1.2rem;
}

@media (max-width: 68rem) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) 15rem;
  }

  .feature-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-case {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .use-case ul {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 56rem) {
  .brand__wordmark {
    font-size: 0.67rem;
  }

  .hero__layout,
  .section-heading--split,
  .editorial-split,
  .solar-layout,
  .precision-card,
  .scope-card,
  .audience-card,
  .faq-layout,
  .contact-panel,
  .legal-layout,
  .about-placeholder {
    grid-template-columns: 1fr;
  }

  .hero__layout {
    align-content: end;
  }

  .hero__pipeline {
    width: min(100%, 43rem);
  }

  .service-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card--primary {
    grid-column: 1 / -1;
  }

  .makerspace-card {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .makerspace-card__mark {
    width: 5.5rem;
    height: 5.5rem;
  }

  .makerspace-card > .button {
    grid-column: 2;
    justify-self: start;
  }

  .application-list a {
    grid-template-columns: 2.5rem 1fr;
  }

  .application-list small {
    grid-column: 2;
  }

  .contact-panel__intro,
  .legal-notice {
    position: static;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  .shell,
  .hero__layout {
    width: min(calc(100% - 1.5rem), var(--dfb-container));
  }

  .brand__wordmark span:first-child {
    display: none;
  }

  .hero__layout {
    min-height: 46rem;
    padding-bottom: 2.1rem;
  }

  .hero__panel {
    padding: 1.35rem;
  }

  .hero__pipeline {
    padding: 1.15rem 1.25rem;
  }

  .hero__pipeline > span {
    margin-bottom: 0.55rem;
  }

  .hero__scroll {
    display: none;
  }

  .service-grid,
  .media-grid,
  .feature-grid--four,
  .timeline,
  .form-grid,
  .project-placeholder,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .service-card--primary,
  .site-footer__brand {
    grid-column: auto;
  }

  .process {
    padding-left: 1.3rem;
  }

  .process > article {
    min-height: 0;
    padding: 0 0 2.5rem 1.45rem;
    border-top: 0;
  }

  .process > article::before {
    position: absolute;
    top: 0;
    left: -1.45rem;
    width: 1px;
    height: 100%;
    background: var(--dfb-line);
    content: "";
  }

  .process > article:last-child::before {
    height: 2.5rem;
  }

  .process > article::after {
    content: none;
  }

  .process > article > span {
    position: absolute;
    top: 0;
    left: -2.8rem;
    margin: 0;
  }

  .pointcloud__meta,
  .inline-note,
  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .makerspace-card {
    grid-template-columns: 1fr;
  }

  .makerspace-card > .button {
    grid-column: auto;
  }

  .application-list a {
    gap: 0.5rem 0.75rem;
  }

  .solar-visual {
    min-height: 23rem;
  }

  .use-case {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .use-case ul {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .contact-facts {
    display: grid;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
