:root {
  --color-primary: #aa0000;
  --color-text: #666666;
  --color-text-muted: #999999;
  --color-border: #d9d9d9;
  --color-surface: #ffffff;
  --color-surface-muted: #f5f5f5;
  --header-height-expanded: 108px;
  --header-height-condensed: 76px;
  --header-height: var(--header-height-expanded);
  --header-transition: 280ms ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-surface);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

body.is-scrolled {
  --header-height: var(--header-height-condensed);
}

img {
  max-width: 100%;
  display: block;
}

.py-section,
.hero-section {
  padding: 5rem 0;
}

.hero-shell {
  padding-top: var(--header-height);
  background-image: url("../images/hero.webp");
  background-position: center 32%;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 46rem;
  transform: translateY(-80px);
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-form {
  width: min(100%, 440px);
  margin-top: calc(-2.25rem - 100px);
  margin-left: -2.5rem;
  padding: clamp(1rem, 2vw, 1.3rem) clamp(1rem, 2vw, 1.3rem) clamp(1rem, 2vw, 1.3rem);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-form-kicker {
  margin: 0 0 0.35rem;
  color: #5f5f5f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-form-title {
  margin: 0 0 0.55rem;
  color: var(--color-primary);
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero-form-intro {
  margin: 0 0 0.8rem;
  color: #5f5f5f;
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero-form-label {
  margin-bottom: 0.35rem;
  color: #5f5f5f;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-form-control {
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  color: #111111;
  background-color: rgba(232, 232, 232, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
}

.hero-form-control::placeholder {
  color: #707070;
}

.hero-form-control:focus {
  color: #111111;
  background-color: rgba(238, 238, 238, 0.98);
  border-color: rgba(170, 0, 0, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(170, 0, 0, 0.16);
}

.hero-form-select {
  background-image:
    linear-gradient(45deg, transparent 50%, #555555 50%),
    linear-gradient(135deg, #555555 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(1.2rem + 2px),
    calc(100% - 14px) calc(1.2rem + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hero-form-submit {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #aa0000 0%, #7d0000 100%);
  font-weight: 700;
  letter-spacing: 0.03em;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.hero-form-submit:hover,
.hero-form-submit:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(125, 0, 0, 0.28);
}

.hero-form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-form-status.is-success {
  color: #ffffff;
}

.hero-form-status.is-error {
  color: #ffd2d2;
}

.hero-eyebrow {
  margin-bottom: 1rem;
  color: #111111;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1em;
}

.hero-title {
  margin: 0 0 4rem;
  color: #ffffff;
  font-size: clamp(2.75rem, 4.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
}

.hero-title-line {
  display: block;
}

.hero-title-accent-black {
  color: #111111;
}

.hero-title-line-primary {
  color: var(--color-primary);
}

.hero-title-line-muted {
  color: #5f5f5f;
}

.hero-title-line-sm {
  font-size: 0.72em;
  margin-left: 0.08em;
}

.hero-title-line-md {
  font-size: 0.9em;
}

.hero-title-line-lg {
  font-size: 1em;
}

.hero-title-line-xl {
  font-size: 1.1em;
}

.hero-word-my {
  color: #5f5f5f;
  font-size: 1.5em;
}

.hero-word-strechy {
  color: var(--color-primary);
  font-size: 1em;
}

.hero-subcopy {
  margin: 0 0 0.9rem;
  max-width: 28rem;
  color: #ffffff;
  font-size: 0.975rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.hero-call-button {
  width: fit-content;
  min-height: 75px;
  padding: 1.2rem 2rem;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #aa0000 0%, #7d0000 100%);
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 30px rgba(125, 0, 0, 0.28);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.hero-call-button:hover,
.hero-call-button:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(125, 0, 0, 0.32);
}

.hero-call-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-call-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.materials-section {
  position: relative;
  z-index: 2;
  margin-top: -4rem;
  padding: 0 0 3.5rem;
}

.materials-panel {
  position: relative;
  z-index: 4;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.4rem 8rem 2.1rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.18);
}

.metrics-panel {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 2rem 0 0;
  padding: 0;
}

.metrics-row {
  justify-content: center;
  column-gap: 8.333333%;
}

.materials-brand {
  height: 100%;
  min-height: 60px;
  padding: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 220ms ease;
}

.materials-brand:hover,
.materials-brand:focus-visible {
  transform: translateY(-2px);
}

.materials-brand-logo {
  position: relative;
  width: 100%;
  height: 42px;
  display: block;
}

.materials-brand-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 220ms ease;
}

.materials-brand-image-color {
  opacity: 0;
}

.materials-brand:hover .materials-brand-image-color,
.materials-brand:focus-visible .materials-brand-image-color {
  opacity: 1;
}

.materials-brand:hover .materials-brand-image-bw,
.materials-brand:focus-visible .materials-brand-image-bw {
  opacity: 0;
}

.metric-card {
  position: relative;
  height: 100%;
  padding: 0.85rem 0.45rem;
  background: linear-gradient(180deg, #5f5f5f 0%, #4f4f4f 100%);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  text-align: center;
}

.metric-icon {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  width: 66%;
  height: 66%;
  display: block;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.metric-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-value,
.metric-label,
.metric-text {
  position: relative;
  z-index: 1;
}

.metric-value {
  margin-top: 2.5rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
  font-size: clamp(3.2rem, 6.4vw, 5.05rem);
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  margin: 0 0 0.5rem;
  color: #ffb3b3;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.metric-text {
  max-width: 18rem;
  margin: 0 auto;
  color: #e5e5e5;
  font-size: 1.05rem;
  line-height: 1.55;
}

.services-section {
  padding-top: 0.5rem;
}

.services-row + .services-row {
  margin-top: 1.5rem;
}

.services-copy {
  max-width: 33rem;
}

.services-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.services-title {
  margin: 0 0 0.85rem;
  color: #111111;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
}

.services-text {
  margin: 0;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.7;
}

.services-visual {
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.services-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  margin-bottom: calc(-1 * var(--header-height));
  background-color: transparent;
  transition:
    background-color var(--header-transition),
    border-color var(--header-transition),
    box-shadow var(--header-transition);
}

.site-navbar {
  min-height: var(--header-height);
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid transparent;
  transition:
    min-height var(--header-transition),
    border-color var(--header-transition),
    box-shadow var(--header-transition);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(6px);
  transition:
    transform var(--header-transition);
}

.site-logo img {
  width: auto;
  height: 69px;
  transition:
    height var(--header-transition),
    transform var(--header-transition);
}

.navbar-nav .nav-link,
.social-link,
.navbar-toggler {
  transition:
    color var(--header-transition),
    border-color var(--header-transition),
    background-color var(--header-transition);
}

.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: var(--color-primary);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.4rem;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--header-transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
}

body.is-scrolled .site-header {
  background-color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

body.is-scrolled .site-navbar {
  border-bottom-color: var(--color-border);
}

body.is-scrolled .site-logo {
  transform: translateY(0) scale(0.96);
}

body.is-scrolled .site-logo img {
  height: 44px;
}

.placeholder-card,
.placeholder-block {
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.placeholder-card {
  padding: 1.5rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.contact-card-title {
  color: var(--color-primary);
}

.contact-form-mobile-title {
  display: none;
}

.contact-card a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: #7d0000;
}

.contact-company-logo {
  width: min(170px, 55%);
  height: auto;
  margin-top: 1.4rem;
  filter: grayscale(1);
  opacity: 0.78;
}

.contact-map-shell {
  flex: 1 1 auto;
  min-height: 260px;
  margin-top: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
}

.contact-map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.contact-form-card {
  height: 100%;
  width: calc(100% - 15px);
  margin-left: auto;
  padding: clamp(1rem, 2vw, 1.3rem);
  color: #5f5f5f;
  background: #ffffff;
  border: 1px solid rgba(170, 0, 0, 0.12);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.contact-form-grid {
  flex: 1 1 auto;
  align-content: flex-start;
}

.contact-form-message-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.contact-form-label {
  color: #5f5f5f;
}

.contact-form-control {
  background-color: #f0f0f0;
  border-color: rgba(170, 0, 0, 0.08);
}

.contact-form-control:focus {
  background-color: #f7f7f7;
}

.contact-form-textarea {
  min-height: 148px;
  height: 100%;
  flex: 1 1 auto;
  resize: vertical;
}

.contact-form-submit {
  min-width: 220px;
}

.contact-form-status {
  margin-top: 0.15rem;
}

.placeholder-block {
  min-height: 320px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
}

.reference-media {
  min-height: 360px;
}

.references-shell {
  position: relative;
  padding-inline: 5.75rem;
}

.reference-project-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 68px;
  height: 68px;
  margin-top: -34px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #aa0000 0%, #7d0000 100%);
  box-shadow: 0 18px 34px rgba(125, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  line-height: 0.8;
  text-align: center;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

.reference-project-nav span {
  position: absolute;
  top: -10px;
}

.reference-project-nav:hover,
.reference-project-nav:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(125, 0, 0, 0.3);
}

.reference-project-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 12px 24px rgba(125, 0, 0, 0.18);
}

.reference-project-nav-prev {
  left: 0;
}

.reference-project-nav-next {
  right: 0;
}

.reference-mobile-title {
  display: none;
}

.reference-panel {
  display: block;
  padding-top: 0.5rem;
}

.reference-copy {
  display: grid;
  gap: 0.85rem;
}

.reference-type {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reference-title {
  margin: 0;
  color: #111111;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.reference-description {
  margin: 0;
  max-width: 34rem;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.7;
}

.reference-meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.reference-gallery {
  position: relative;
  display: grid;
  gap: 1rem;
}

.reference-stage {
  position: relative;
  height: 440px;
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background-color: #ececec;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
}

.reference-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.44) 100%);
  pointer-events: none;
}

.reference-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-stage-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: #ffffff;
  background-color: rgba(17, 17, 17, 0.64);
  font-size: 0.84rem;
  font-weight: 600;
}

.reference-thumbs-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 110px;
}

.reference-thumbs-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(170, 0, 0, 0.14);
  border-radius: 999px;
  color: #222222;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.reference-thumbs-nav:hover,
.reference-thumbs-nav:focus-visible {
  color: var(--color-primary);
  border-color: rgba(170, 0, 0, 0.36);
  box-shadow: 0 12px 24px rgba(170, 0, 0, 0.12);
  transform: translateY(-1px);
}

.reference-thumbs-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 110px);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(170, 0, 0, 0.32) rgba(0, 0, 0, 0.06);
}

.reference-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background-color: #efefef;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
  scroll-snap-align: start;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.reference-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color 220ms ease;
}

.reference-thumb:hover,
.reference-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.reference-thumb.is-active::after {
  border-color: var(--color-primary);
}

.reference-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-modal {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
}

.reference-modal-header,
.reference-modal-footer {
  border: 0;
}

.reference-modal-header {
  padding: 1.25rem 1.5rem 0.75rem;
}

.reference-modal-kicker {
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reference-modal-body {
  position: relative;
  padding: 0 1.5rem 1rem;
}

.reference-modal-body img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 20px;
  background-color: #f5f5f5;
}

.reference-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  color: #222222;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.reference-modal-nav:hover,
.reference-modal-nav:focus-visible {
  color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.reference-modal-nav-prev {
  left: 2rem;
}

.reference-modal-nav-next {
  right: 2rem;
}

.reference-modal-footer {
  padding: 0 1.5rem 1.4rem;
  color: var(--color-text);
}

.placeholder-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.process-card {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.process-card::before {
  content: attr(data-step);
  position: absolute;
  top: -0.35rem;
  left: -0.1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 7.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.process-card-1 {
  background-image: url("../images/process1.webp");
}

.process-card-2 {
  background-image: url("../images/process2.webp");
}

.process-card-3 {
  background-image: url("../images/process3.webp");
}

.process-card-4 {
  background-image: url("../images/process4.webp");
}

.process-step {
  width: 300px;
}

.process-copy {
  padding-top: 1rem;
}

.process-title {
  margin: 0 0 0.4rem;
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.process-text {
  margin: 0;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.55;
}

.process-kicker {
  margin-bottom: 0;
}

.process-heading {
  margin-top: 0;
  color: var(--color-primary);
}

.step-number {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.social-link {
  width: auto;
  height: auto;
  border: 0;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer {
  color: #ffffff;
  background-color: #333333;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffb3b3;
}

.scroll-top-button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #aa0000 0%, #7d0000 100%);
  box-shadow: 0 18px 34px rgba(125, 0, 0, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  box-shadow: 0 22px 38px rgba(125, 0, 0, 0.3);
}

.scroll-top-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: clamp(2.6rem, 4.2vw, 4rem);
  }

  .hero-title-line-sm {
    font-size: 0.78em;
  }

  .hero-title-line-md {
    font-size: 0.94em;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height-expanded: 88px;
    --header-height-condensed: 72px;
  }

  .site-header {
    overflow: visible;
  }

  .site-navbar {
    align-items: center;
  }

  .site-navbar .navbar-collapse {
    margin-top: 0.9rem;
    padding: 0.9rem 1rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  }

  .site-navbar .navbar-nav {
    gap: 0.15rem;
  }

  .site-navbar .nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
  }

  .site-navbar .nav-link::after {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.3rem;
  }

  .site-navbar .d-flex {
    margin-top: 0.8rem;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy {
    transform: translateY(-32px);
    max-width: 34rem;
  }

  .hero-media {
    display: none;
  }

  .materials-section {
    margin-top: -1rem;
    padding-bottom: 3rem;
  }
  .materials-panel {
    max-width: 860px;
  }

  .process-card {
    width: 280px;
    height: 187px;
  }

  .process-step {
    width: 280px;
  }

  .process-card::before {
    font-size: 6.875rem;
  }

  .references-shell {
    padding-inline: 4.75rem;
  }

  .reference-stage {
    height: 380px;
  }
}

@media (max-width: 799.98px) {
  .hero-shell {
    background-image: url("../images/hero.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero-section {
    padding: 3rem 0 2rem;
  }

  .hero-media {
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2.35rem, 4vw, 3.35rem);
    line-height: 1.02;
  }

  .hero-title-line-sm {
    font-size: 0.84em;
  }

  .hero-title-line-md {
    font-size: 0.98em;
  }
}

@media (max-width: 767.98px) {
  .py-section,
  .hero-section {
    padding: 3rem 0 2rem;
  }

  .hero-section {
    min-height: calc(100vh - var(--header-height) + 120px);
    padding-bottom: 4.5rem;
  }

  .hero-media,
  .reference-media,
  .placeholder-block {
    min-height: 240px;
  }

  .reference-panel {
    padding-top: 0;
  }

  .reference-title {
    font-size: 1.65rem;
  }

  .references-shell {
    padding-top: 4.6rem;
    padding-inline: 0;
  }

  .reference-mobile-title {
    position: absolute;
    top: 0.6rem;
    left: 4rem;
    right: 4rem;
    display: block;
    margin: 0;
    color: #111111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
  }

  .reference-panel .reference-title {
    display: none;
  }

  .reference-project-nav {
    top: 0;
    margin-top: 0;
    width: 54px;
    height: 54px;
    font-size: 4.5rem;
  }

  .reference-project-nav-prev {
    left: 0;
  }

  .reference-project-nav-next {
    right: 0;
  }

  .reference-stage {
    height: 280px;
    border-radius: 22px;
  }

  .reference-stage-hint {
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.78rem;
  }

  .reference-thumbs-shell {
    grid-template-columns: 1fr;
  }

  .reference-thumbs-nav {
    display: none;
  }

  .reference-thumbs-track {
    grid-auto-columns: minmax(78px, 88px);
    gap: 0.6rem;
  }

  .reference-modal-body,
  .reference-modal-header,
  .reference-modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .reference-modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }

  .reference-modal-nav-prev {
    left: 1.25rem;
  }

  .reference-modal-nav-next {
    right: 1.25rem;
  }

  .contact-map-shell,
  .contact-map-shell iframe {
    min-height: 220px;
  }

  .contact-form-card {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .contact-form-mobile-title {
    display: block;
  }

  .hero-copy {
    transform: translateY(-190px);
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.15rem, 7vw, 3rem);
    margin-bottom: 1.25rem;
    line-height: 1.02;
  }

  .hero-shell {
    background-image: url("../images/hero.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero-subcopy {
    margin-bottom: 1.5rem;
  }

  .hero-form {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 1rem;
    border-radius: 18px;
  }

  .hero-form-title {
    font-size: 1.55rem;
  }

  .hero-call-button {
    min-height: 56px;
    padding: 0.9rem 1.35rem;
    margin-bottom: 1rem;
    gap: 0.7rem;
    font-size: 1rem;
  }

  .hero-call-icon {
    width: 20px;
    height: 20px;
  }

  .materials-section {
    margin-top: -2.5rem;
    padding-bottom: 3rem;
  }

  .materials-panel {
    max-width: 100%;
    padding: 0.85rem;
  }

  .metrics-panel {
    margin-top: 1rem;
  }

  .materials-brand {
    min-height: 88px;
    padding: 0.1rem;
  }

  .materials-brand-logo {
    height: 50px;
  }

  .metric-card {
    padding: 0.85rem 0.3rem;
  }

  .metric-icon {
    width: 62%;
    height: 62%;
  }

  .metric-value {
    font-size: 3.2rem;
  }

  .services-section {
    padding-top: 0;
  }

  .services-row + .services-row {
    margin-top: 0.75rem;
  }

  .services-copy {
    max-width: 100%;
    text-align: center;
  }

  .services-visual {
    min-height: 240px;
  }

  .services-visual img {
    min-height: 240px;
  }

  .scroll-top-button {
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
  }

  .process-card {
    width: min(100%, 320px);
    height: 200px;
  }

  .process-step {
    width: min(100%, 320px);
    margin-inline: auto;
    text-align: center;
  }

  .process-card::before {
    top: -0.3rem;
    left: -0.1rem;
    font-size: 6.75rem;
  }

  .site-logo {
    transform: translateY(4px);
  }

  .site-logo img {
    height: 58px;
  }

  body.is-scrolled .site-logo {
    transform: translateY(0) scale(0.98);
  }

  body.is-scrolled .site-logo img {
    height: 40px;
  }
}

@media (max-width: 599.98px) {
  .hero-title {
    font-size: 2.625rem;
  }

  .hero-title-line-sm {
    font-size: 0.84em;
  }

  .hero-title-line-md {
    font-size: 0.98em;
  }
}
