:root {
  --dfb-ink: #132a33;
  --dfb-cream: #f4f0e7;
  --dfb-cream-soft: #fbf9f4;
  --dfb-sky: #bdd3da;
  --dfb-slate: #284956;
  --dfb-accent: #b9684a;
  --dfb-accent-dark: #985038;
  --dfb-green: #688176;
  --dfb-white: #fff;
  --dfb-muted: #587078;
  --dfb-line: rgba(19, 42, 51, 0.14);
  --dfb-shadow-sm: 0 12px 34px rgba(19, 42, 51, 0.09);
  --dfb-shadow: 0 24px 64px rgba(19, 42, 51, 0.14);
  --dfb-radius-sm: 0.75rem;
  --dfb-radius: 1.25rem;
  --dfb-radius-lg: 2rem;
  --dfb-container: 76rem;
  --dfb-header-height: 5.25rem;
  --dfb-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --dfb-font-display: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--dfb-header-height) + 1.5rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dfb-cream-soft);
  color: var(--dfb-ink);
  font-family: var(--dfb-font-sans);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: var(--dfb-slate);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--dfb-accent-dark);
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--dfb-accent);
  outline-offset: 4px;
}

::selection {
  background: var(--dfb-sky);
  color: var(--dfb-ink);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--dfb-ink);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6.4vw, 6.6rem);
}

h2 {
  font-size: clamp(2.15rem, 4vw, 4.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p,
li {
  text-wrap: pretty;
}

.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--dfb-ink);
  color: var(--dfb-white);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  width: min(100%, 48rem);
}

.main-content,
main {
  display: block;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section--compact {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

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

.section--white {
  background: var(--dfb-white);
}

.section--sky {
  background: color-mix(in srgb, var(--dfb-sky) 42%, var(--dfb-cream-soft));
}

.section--dark,
.pointcloud-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(189, 211, 218, 0.14), transparent 35rem),
    linear-gradient(145deg, #10242c, #18353f 58%, #10272f);
  color: rgba(255, 255, 255, 0.78);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.pointcloud-section h2,
.pointcloud-section h3 {
  color: var(--dfb-white);
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading > * {
  margin-bottom: 0;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  margin-bottom: 1rem;
  color: var(--dfb-accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.section--dark .eyebrow,
.pointcloud-section .eyebrow {
  color: var(--dfb-sky);
}

.lead {
  max-width: 48rem;
  color: var(--dfb-muted);
  font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.55rem);
  line-height: 1.55;
}

.section--dark .lead,
.pointcloud-section .lead {
  color: rgba(255, 255, 255, 0.72);
}

.button-row,
.hero__actions,
.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.button,
.btn,
.wp-block-button__link,
.contact-form button[type="submit"] {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--dfb-ink);
  box-shadow: 0 10px 26px rgba(19, 42, 51, 0.16);
  color: var(--dfb-white);
  font-size: 0.93rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.btn:hover,
.wp-block-button__link:hover,
.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  background: var(--dfb-slate);
  box-shadow: 0 15px 34px rgba(19, 42, 51, 0.22);
  color: var(--dfb-white);
}

.button--accent,
.btn--accent {
  background: var(--dfb-accent);
}

.button--accent:hover,
.btn--accent:hover {
  background: var(--dfb-accent-dark);
}

.button--secondary,
.button--ghost,
.btn--secondary {
  border-color: rgba(19, 42, 51, 0.2);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: none;
  color: var(--dfb-ink);
}

.button--secondary:hover,
.button--ghost:hover,
.btn--secondary:hover {
  border-color: var(--dfb-ink);
  background: var(--dfb-white);
  color: var(--dfb-ink);
}

.text-link,
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--dfb-ink);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after,
.card__link::after {
  content: "\2192";
  transition: transform 180ms ease;
}

.text-link:hover::after,
.card__link:hover::after {
  transform: translateX(0.25rem);
}

/* Header and navigation */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--dfb-header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(244, 240, 231, 0.66);
  box-shadow: 0 1px 0 rgba(19, 42, 51, 0.04);
  transition: height 220ms ease, background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

@supports ((-webkit-backdrop-filter: blur(1rem)) or (backdrop-filter: blur(1rem))) {
  .site-header {
    -webkit-backdrop-filter: blur(1rem) saturate(130%);
    backdrop-filter: blur(1rem) saturate(130%);
  }
}

.site-header.is-scrolled {
  height: 4.5rem;
  border-bottom-color: rgba(19, 42, 51, 0.1);
  background: rgba(251, 249, 244, 0.94);
  box-shadow: 0 10px 30px rgba(19, 42, 51, 0.08);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand,
.brand,
.custom-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--dfb-ink);
  text-decoration: none;
}

.site-brand:hover,
.brand:hover,
.custom-logo-link:hover {
  color: var(--dfb-ink);
}

.site-brand__mark,
.brand__mark {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(19, 42, 51, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.site-brand__name,
.brand__name {
  color: var(--dfb-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-brand__name span,
.brand__name span {
  color: var(--dfb-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.5rem);
}

.site-nav ul,
.site-nav__list,
.menu {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1vw, 1.15rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.site-nav__link {
  position: relative;
  padding: 0.65rem 0.2rem;
  color: var(--dfb-ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after,
.site-nav__link::after {
  position: absolute;
  right: 0.2rem;
  bottom: 0.45rem;
  left: 0.2rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--dfb-accent);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav .current-menu-item > a::after,
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .button,
.site-nav .button::after,
.site-nav__cta::after {
  content: none;
}

.site-nav .button,
.site-nav__cta {
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
  color: var(--dfb-white);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(19, 42, 51, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--dfb-ink);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
}

.menu-toggle__icon::before {
  transform: translateY(-0.38rem);
}

.menu-toggle__icon::after {
  transform: translateY(0.38rem);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: max(42rem, 92svh);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__media::after {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero__media {
  overflow: hidden;
  background: var(--dfb-sky);
}

.hero__media img,
.hero__media video {
  position: absolute;
  top: -2rem;
  left: 0;
  width: 100%;
  height: calc(100% + 4rem);
  object-fit: cover;
  object-position: center 48%;
  transform: translate3d(0, var(--hero-parallax, 0), 0) scale(1.035);
  transform-origin: center center;
  will-change: transform;
}

.hero__media::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 34, 41, 0.2) 0%, transparent 52%),
    linear-gradient(0deg, rgba(10, 27, 33, 0.34), transparent 48%);
  content: "";
}

.hero__inner {
  width: min(calc(100% - 2.5rem), var(--dfb-container));
  margin-inline: auto;
  padding-block: calc(var(--dfb-header-height) + clamp(2rem, 6vh, 5rem)) clamp(2rem, 7vh, 5rem);
}

.hero__panel {
  width: min(100%, 50rem);
  padding: clamp(1.5rem, 4vw, 3.75rem);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--dfb-radius-lg);
  background: rgba(250, 247, 240, 0.82);
  box-shadow: var(--dfb-shadow);
}

@supports ((-webkit-backdrop-filter: blur(1rem)) or (backdrop-filter: blur(1rem))) {
  .hero__panel {
    -webkit-backdrop-filter: blur(1rem) saturate(115%);
    backdrop-filter: blur(1rem) saturate(115%);
  }
}

.hero h1,
.hero__title {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 5.7vw, 5.9rem);
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.34);
}

.hero__lead {
  max-width: 43rem;
  margin-bottom: 1.75rem;
  color: #34525d;
  font-size: clamp(1.07rem, 1rem + 0.35vw, 1.34rem);
  line-height: 1.55;
}

.hero__meta,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.35rem;
  color: #405e68;
  font-size: 0.85rem;
  font-weight: 650;
}

.hero__meta span,
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--dfb-header-height) + clamp(5rem, 10vw, 9rem)) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 80% 10%, rgba(189, 211, 218, 0.75), transparent 35rem),
    linear-gradient(135deg, var(--dfb-cream-soft), var(--dfb-cream));
}

.page-hero::after {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(19, 42, 51, 0.08);
  border-radius: 50%;
  content: "";
}

.page-hero h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 6vw, 6rem);
}

.page-hero .lead {
  margin-bottom: 0;
}

/* Cards, grids and editorial components */
.grid,
.card-grid,
.services-grid,
.applications-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
}

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

.grid--3,
.card-grid,
.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.split {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.split--top {
  align-items: start;
}

.card,
.service-card,
.application-card,
.info-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 2.8vw, 2.25rem);
  overflow: hidden;
  border: 1px solid var(--dfb-line);
  border-radius: var(--dfb-radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--dfb-shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.service-card:hover,
.application-card:hover,
.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 42, 51, 0.24);
  box-shadow: 0 20px 48px rgba(19, 42, 51, 0.13);
}

.card::before,
.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.3rem;
  background: var(--card-accent, var(--dfb-sky));
  content: "";
}

.card:nth-child(2),
.service-card:nth-child(2) {
  --card-accent: var(--dfb-accent);
}

.card:nth-child(3),
.service-card:nth-child(3) {
  --card-accent: var(--dfb-green);
}

.card h3,
.service-card h3,
.application-card h3,
.info-card h3 {
  margin-bottom: 0.85rem;
}

.card p,
.service-card p,
.application-card p,
.info-card p {
  color: var(--dfb-muted);
}

.card__link,
.service-card .text-link {
  margin-top: auto;
  padding-top: 1rem;
}

.card__number,
.icon-badge,
.service-card__icon {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--dfb-sky) 52%, var(--dfb-white));
  color: var(--dfb-ink);
  font-size: 0.84rem;
  font-weight: 850;
}

.feature-list,
.check-list,
.plain-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.56rem;
  height: 0.56rem;
  border: 2px solid var(--dfb-green);
  border-radius: 50%;
  content: "";
}

.quote,
blockquote {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 0.28rem solid var(--dfb-accent);
  border-radius: 0 var(--dfb-radius) var(--dfb-radius) 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--dfb-ink);
  font-family: var(--dfb-font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.4;
}

/* Complete process */
.process,
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: process;
  list-style: none;
}

.process__step,
.process-step,
.pipeline__step {
  position: relative;
  min-height: 13rem;
  padding: 1.6rem 1.4rem;
  border-top: 1px solid rgba(19, 42, 51, 0.2);
  counter-increment: process;
}

.process__step::before,
.process-step::before,
.pipeline__step::before {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  margin-top: -2.95rem;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(19, 42, 51, 0.24);
  border-radius: 50%;
  background: var(--dfb-cream-soft);
  color: var(--dfb-ink);
  content: counter(process, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 850;
}

.process__step::after,
.process-step::after,
.pipeline__step::after {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  z-index: 1;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--dfb-accent);
  content: "";
}

.process__step:last-child::after,
.process-step:last-child::after,
.pipeline__step:last-child::after {
  content: none;
}

.process h3,
.pipeline h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
}

.process p,
.pipeline p {
  margin-bottom: 0;
  color: var(--dfb-muted);
  font-size: 0.9rem;
}

.makerspace-callout,
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.5fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  overflow: hidden;
  border-radius: var(--dfb-radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(189, 211, 218, 0.28), transparent 20rem),
    var(--dfb-ink);
  box-shadow: var(--dfb-shadow);
  color: rgba(255, 255, 255, 0.75);
}

.makerspace-callout h2,
.makerspace-callout h3,
.cta-panel h2,
.cta-panel h3 {
  margin-bottom: 0.7rem;
  color: var(--dfb-white);
}

.makerspace-callout p,
.cta-panel p {
  margin-bottom: 0;
}

.makerspace-callout .button,
.cta-panel .button {
  justify-self: end;
  background: var(--dfb-cream);
  color: var(--dfb-ink);
}

/* Interactive point cloud */
.pointcloud-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.55fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.pointcloud-viewer,
[data-pointcloud] {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--dfb-radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(189, 211, 218, 0.12), transparent 54%),
    #0b1b21;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  aspect-ratio: 16 / 10;
  isolation: isolate;
  touch-action: none;
}

.pointcloud-viewer [data-pointcloud] {
  position: absolute;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  inset: 0;
}

[data-viewer-canvas],
.pointcloud-viewer__canvas {
  position: absolute;
  inset: 0;
}

.pointcloud-viewer canvas,
[data-pointcloud] canvas {
  width: 100%;
  height: 100%;
  outline: 0;
}

[data-viewer-status],
.pointcloud-viewer__status {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 22, 27, 0.72);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  pointer-events: none;
}

[data-viewer-status][data-state="loading"]::before {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--dfb-sky);
  border-radius: 50%;
  content: "";
  vertical-align: -0.05rem;
  animation: dfb-spin 800ms linear infinite;
}

[data-viewer-status][data-state="ready"] {
  opacity: 0.82;
}

[data-viewer-status][data-state="error"] {
  border-color: rgba(185, 104, 74, 0.7);
  background: rgba(74, 29, 18, 0.86);
  color: #fff;
  pointer-events: auto;
}

.pointcloud-viewer__help,
.viewer-controls,
[data-viewer-help] {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  pointer-events: none;
}

.pointcloud-viewer__caption,
.viewer-caption {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
}

.pointcloud-viewer__caption a,
.viewer-caption a {
  color: var(--dfb-sky);
}

@keyframes dfb-spin {
  to {
    transform: rotate(1turn);
  }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.contact-details {
  display: grid;
  gap: 1.25rem;
}

.contact-details__item {
  padding-top: 1rem;
  border-top: 1px solid var(--dfb-line);
}

.contact-details__label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--dfb-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--dfb-line);
  border-radius: var(--dfb-radius-lg);
  background: var(--dfb-white);
  box-shadow: var(--dfb-shadow);
}

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

.form-field,
.contact-form__field {
  display: grid;
  gap: 0.45rem;
}

.form-field label,
.contact-form label {
  color: var(--dfb-ink);
  font-size: 0.84rem;
  font-weight: 750;
}

.form-field input,
.form-field textarea,
.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(19, 42, 51, 0.24);
  border-radius: var(--dfb-radius-sm);
  background: var(--dfb-cream-soft);
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-field textarea,
.contact-form textarea {
  min-height: 13rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--dfb-slate);
  outline: 0;
  background: var(--dfb-white);
  box-shadow: 0 0 0 4px rgba(189, 211, 218, 0.48);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--dfb-accent);
}

.form-hint,
.contact-form__hint,
.privacy-note {
  margin-bottom: 0;
  color: var(--dfb-muted);
  font-size: 0.78rem;
}

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

[data-contact-status],
.contact-status {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(104, 129, 118, 0.46);
  border-radius: var(--dfb-radius-sm);
  background: rgba(104, 129, 118, 0.12);
  color: #315347;
  font-size: 0.9rem;
  font-weight: 650;
}

[data-contact-status]:empty,
.contact-status:empty,
[data-contact-status][hidden] {
  display: none;
}

[data-contact-status].is-error,
[data-contact-status][data-state="error"],
.contact-status--error {
  border-color: rgba(185, 104, 74, 0.5);
  background: rgba(185, 104, 74, 0.1);
  color: #7d3e2b;
}

/* FAQ, legal content and footer */
.faq-list {
  border-top: 1px solid var(--dfb-line);
}

.faq-list details,
.faq-item {
  border-bottom: 1px solid var(--dfb-line);
}

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

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

.faq-list summary::after {
  position: absolute;
  top: 1.05rem;
  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;
}

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

.faq-list details > div,
.faq-item__answer {
  max-width: 52rem;
  padding: 0 3rem 1.3rem 0;
  color: var(--dfb-muted);
}

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

.legal-content h2 {
  margin-top: 2.8rem;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.legal-content h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.placeholder-notice {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(185, 104, 74, 0.32);
  border-radius: var(--dfb-radius-sm);
  background: rgba(185, 104, 74, 0.08);
  color: #70402f;
}

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  background: #0d222a;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__inner {
  display: grid;
  gap: 3rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(10rem, 0.5fr));
  gap: clamp(2rem, 6vw, 6rem);
}

.site-footer .site-brand,
.site-footer .brand {
  margin-bottom: 1.25rem;
}

.site-footer .site-brand__mark,
.site-footer .brand__mark {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dfb-white);
}

.site-footer .site-brand__name,
.site-footer .brand__name,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--dfb-white);
}

.site-footer__claim {
  max-width: 31rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--dfb-font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.35;
}

.site-footer__title {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul,
.footer-nav {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--dfb-white);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
}

/* Progressive reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal][data-reveal-delay="1"] {
  transition-delay: 90ms;
}

.js [data-reveal][data-reveal-delay="2"] {
  transition-delay: 180ms;
}

.js [data-reveal][data-reveal-delay="3"] {
  transition-delay: 270ms;
}

@media (max-width: 68rem) {
  .grid--4,
  .applications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    gap: 0.65rem;
  }

  .site-nav ul,
  .site-nav__list,
  .menu {
    gap: 0.45rem;
  }

  .site-nav a,
  .site-nav__link {
    font-size: 0.79rem;
  }

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

  .process__step:nth-child(3)::after,
  .process-step:nth-child(3)::after,
  .pipeline__step:nth-child(3)::after {
    content: none;
  }
}

@media (max-width: 56rem) {
  :root {
    --dfb-header-height: 4.7rem;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--dfb-header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - var(--dfb-header-height));
    align-content: start;
    padding: 1.25rem;
    overflow: auto;
    visibility: hidden;
    border-top: 1px solid var(--dfb-line);
    background: rgba(251, 249, 244, 0.98);
    box-shadow: 0 22px 45px rgba(19, 42, 51, 0.16);
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .admin-bar .site-nav {
    top: calc(var(--dfb-header-height) + 46px);
    max-height: calc(100svh - var(--dfb-header-height) - 46px);
  }

  .site-nav[data-open="true"],
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav ul,
  .site-nav__list,
  .menu {
    display: grid;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a,
  .site-nav__link {
    display: block;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--dfb-line);
    font-size: 1rem;
  }

  .site-nav a::after,
  .site-nav__link::after {
    content: none;
  }

  .site-nav .button,
  .site-nav__cta {
    width: 100%;
    margin-top: 0.8rem;
    color: var(--dfb-white);
    text-align: center;
  }

  .hero {
    min-height: max(39rem, 88svh);
  }

  .hero__media img,
  .hero__media video {
    object-position: 62% center;
  }

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

  .grid--3,
  .card-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .pointcloud-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .makerspace-callout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .makerspace-callout .button,
  .cta-panel .button {
    justify-self: start;
  }

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

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

@media (max-width: 40rem) {
  .container,
  .site-header__inner,
  .site-footer__inner,
  .hero__inner {
    width: min(calc(100% - 1.5rem), var(--dfb-container));
  }

  .site-brand__name,
  .brand__name {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .site-brand__mark,
  .brand__mark {
    width: 2.7rem;
  }

  .hero {
    min-height: 42rem;
  }

  .hero__inner {
    padding-bottom: 0.75rem;
  }

  .hero__panel {
    border-radius: 1.35rem;
  }

  .hero h1,
  .hero__title {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  .hero__actions,
  .button-row,
  .cta-group {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button,
  .button-row .button,
  .cta-group .button {
    width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .card-grid,
  .services-grid,
  .applications-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .process,
  .pipeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 1.3rem;
    border-left: 1px solid rgba(19, 42, 51, 0.2);
  }

  .process__step,
  .process-step,
  .pipeline__step {
    min-height: 0;
    padding: 0 0 2.5rem 1.45rem;
    border-top: 0;
  }

  .process__step::before,
  .process-step::before,
  .pipeline__step::before {
    position: absolute;
    top: 0;
    left: -2.62rem;
    width: 2.6rem;
    height: 2.6rem;
    margin: 0;
  }

  .process__step::after,
  .process-step::after,
  .pipeline__step::after {
    content: none;
  }

  .pointcloud-viewer,
  [data-pointcloud] {
    min-height: 19rem;
    aspect-ratio: 4 / 5;
  }

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

  .site-footer__brand {
    grid-column: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media img,
  .hero__media video {
    transform: scale(1.035);
    will-change: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__media,
  .button,
  .pointcloud-viewer,
  [data-pointcloud] {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: inherit;
    text-decoration: underline;
  }

  .section,
  .page-hero {
    padding-block: 2rem;
  }
}
