@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap");

:root {
  --black: #060606;
  --surface: #141414;
  --surface-2: #101010;
  --white: #ffffff;
  --text: #c0c0c0;
  --muted: #939393;
  --subtle: #717172;
  --line: #474747;
  --line-soft: rgba(255, 255, 255, 0.12);
  --accent: #d4a600;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "THICCCBOI", "DM Sans", "Avenir Next", sans-serif;
  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 32px);
  --section-y: clamp(88px, 11vw, 160px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  font-size: 18px;
  line-height: 1.667;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body::selection {
  background: var(--white);
  color: var(--black);
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font: inherit;
  color: inherit;
}

.container {
  width: calc(100% - var(--pad-x) - var(--pad-x));
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 110px;
}

#products {
  scroll-margin-top: 120px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: 5.75rem;
  line-height: 1.04;
}

h2 {
  font-size: 5rem;
  line-height: 1.08;
}

h3 {
  font-size: 2.125rem;
  line-height: 1.12;
}

p {
  color: var(--text);
  max-width: 650px;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding-top: 32px;
  transition: padding 260ms ease, background 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  padding-block: 18px;
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.header-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a,
.header-cta {
  padding-block: 8px;
  border: 0;
  font-size: 13px;
  white-space: nowrap;
}

.desktop-nav a {
  color: var(--white);
  opacity: 0.82;
  transition: opacity 300ms ease, color 300ms ease, transform 300ms ease;
}

.desktop-nav a:hover,
.header-cta:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-actions {
  justify-content: flex-end;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 9px;
  min-height: 36px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 188px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}

.footer-grid h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.footer-links a {
  display: block;
  padding-block: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  transition: color 300ms ease, transform 300ms ease;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle.icon-button {
  display: none;
}

.icon-button span {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.icon-button span + span {
  margin-top: -14px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(6, 6, 6, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--black);
  transform: translateX(-100%);
  transition: transform 360ms var(--ease), opacity 300ms ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.close-drawer {
  font-size: 28px;
}

.mobile-drawer nav {
  display: grid;
  gap: 6px;
}

.mobile-drawer nav a {
  min-height: 52px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 32px;
  line-height: 1.2;
}

.hero {
  position: relative;
  min-height: 960px;
  display: grid;
  align-items: center;
  padding-block: 188px 132px;
  overflow: hidden;
  border-bottom: 0;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 38%;
  height: auto;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(6, 6, 6, 0.86) 18%, rgba(6, 6, 6, 0.1) 58%),
    linear-gradient(0deg, var(--black) 0%, rgba(6, 6, 6, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-top: 42px;
}

.hero-copy h1 {
  color: var(--white);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-copy h1 {
    color: transparent;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.72) 10%,
      var(--white) 28%,
      var(--white) 70%,
      rgba(255, 255, 255, 0.64) 88%,
      rgba(255, 255, 255, 0.12) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero-copy p {
  margin-top: 30px;
  max-width: 610px;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 48px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.button span,
.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 220ms ease;
}

.button:hover span,
.text-link:hover span {
  transform: translateX(5px);
}

.button.primary {
  background: var(--white);
  color: var(--black);
}

.button.primary:hover {
  background: var(--white);
  color: var(--black);
  transform: scale(0.96);
}

.button.secondary {
  color: var(--white);
  border-color: var(--line);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
  transform: scale(0.96);
}

.button.compact {
  min-height: 48px;
  padding-inline: 24px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 300ms ease;
}

.text-link:hover {
  color: var(--muted);
}

.section-marker {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(54px, 6.5vw, 88px);
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.section-marker span,
.section-marker p {
  color: var(--white);
  font-size: 12px;
  line-height: 1.2;
}

.split-intro {
  display: grid;
  grid-template-columns: 4.8fr 7.2fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.split-intro .text-link {
  margin-top: 30px;
}

.copy-stack {
  display: grid;
  gap: 24px;
}

.wide-photo {
  height: clamp(360px, 44vw, 600px);
  margin-top: clamp(72px, 9vw, 112px);
}

.wide-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, var(--black) 0%, rgba(6, 6, 6, 0.94) 10%, rgba(6, 6, 6, 0.62) 24%, rgba(6, 6, 6, 0) 48%),
    linear-gradient(90deg, var(--black) 0%, rgba(6, 6, 6, 0.54) 14%, rgba(6, 6, 6, 0) 34%),
    linear-gradient(270deg, var(--black) 0%, rgba(6, 6, 6, 0.38) 10%, rgba(6, 6, 6, 0) 28%);
  pointer-events: none;
}

.image-hover {
  position: relative;
  overflow: hidden;
}

.image-hover img {
  filter: saturate(0.82) brightness(0.72) contrast(1.08);
  transform: scale(1);
  transition: transform 700ms var(--ease), filter 700ms ease;
}

.image-hover:hover img {
  filter: saturate(0.92) brightness(0.9) contrast(1.08);
  transform: scale(1.055);
}

.hero .hero-media {
  position: absolute;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-block: 1px solid var(--line-soft);
}

.stats-grid div {
  padding: 34px 0 36px;
  border-right: 1px solid var(--line-soft);
  text-align: left;
}

.stats-grid div:nth-child(2),
.stats-grid div:nth-child(3) {
  text-align: center;
}

.stats-grid div:last-child {
  border-right: 0;
  text-align: right;
}

.stats-grid strong {
  display: block;
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.center-heading {
  width: min(720px, 100%);
  margin: 0 auto clamp(56px, 7vw, 96px);
  text-align: center;
}

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

.service-item {
  position: relative;
  isolation: isolate;
  min-height: 118px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  transition: min-height 520ms var(--ease);
}

.service-item:not(.is-open) {
  border-bottom: 0;
}

.service-item.is-open {
  min-height: clamp(460px, 43vw, 620px);
}

.service-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 520ms var(--ease), transform 900ms var(--ease), visibility 0s linear 520ms;
  pointer-events: none;
}

.service-item.is-open .service-media {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.service-media::before,
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.service-media::before {
  background:
    linear-gradient(90deg, #060606 0%, rgba(6, 6, 6, 0.97) 26%, rgba(6, 6, 6, 0.72) 52%, rgba(6, 6, 6, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.22) 0%, rgba(6, 6, 6, 0) 38%, rgba(6, 6, 6, 0.44) 100%);
}

.service-media::after {
  background: radial-gradient(circle at 78% 42%, rgba(212, 166, 0, 0.16), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.45;
}

.service-media img {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  object-position: 72% center;
  transform: scale(1.045);
}

.service-media img.is-active {
  opacity: 1;
  visibility: visible;
}

.service-item > button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  min-height: 112px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 5rem;
  line-height: 1.12;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: color 300ms ease, transform 300ms ease, padding-top 520ms var(--ease);
}

.service-item > button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 1px;
  background: var(--line-soft);
  pointer-events: none;
}

.service-item > button > span:first-child {
  display: block;
  transform: translateY(0.18em);
}

.service-item > button:hover {
  color: var(--muted);
  transform: translateX(8px);
}

.service-item.is-open > button:hover {
  color: var(--white);
  transform: none;
}

.service-symbol {
  align-self: center;
  color: var(--muted);
  font-size: 26px;
}

.service-content {
  position: relative;
  z-index: 2;
  display: block;
  width: min(690px, 58%);
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}

.service-item.is-open .service-content {
  height: auto;
  padding: 14px 0 clamp(46px, 5vw, 72px);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.service-content p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
}

.service-content .text-link {
  width: max-content;
  margin-top: 24px;
  color: var(--white);
}

.services-actions {
  justify-content: center;
}

.portfolio {
  overflow: hidden;
  background: #020202;
  padding-block: clamp(84px, 7vw, 118px);
}

.portfolio .container {
  max-width: 1680px;
}

.portfolio .section-marker {
  margin-bottom: clamp(30px, 4vw, 54px);
}

.portfolio-top,
.news-head,
.testimonial-head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(64px, 7vw, 96px);
}

.portfolio-top {
  display: none;
}

.portfolio-socials,
.social-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.portfolio-socials a:not(.button),
.social-row a {
  color: var(--white);
  font-size: 13px;
}

.project-slider {
  position: relative;
  --slider-gap: clamp(56px, 6vw, 112px);
  min-height: clamp(620px, 54vw, 820px);
}

.project-slide {
  display: none;
  grid-template-columns: minmax(420px, 0.94fr) minmax(560px, 1.06fr);
  gap: var(--slider-gap);
  align-items: start;
  min-height: inherit;
}

.project-slide.is-active {
  display: grid;
  animation: fadeUp 480ms var(--ease) both;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  min-height: clamp(560px, 48vw, 760px);
  padding-block: clamp(72px, 7vw, 118px) clamp(126px, 9vw, 170px);
}

.project-copy h3 {
  max-width: 780px;
  font-size: clamp(3.5rem, 4.6vw, 5.75rem);
  line-height: 1.04;
}

.project-copy p {
  margin-top: clamp(22px, 2.4vw, 34px);
  max-width: 740px;
  color: #b9b9b9;
  font-size: clamp(1.125rem, 1.32vw, 1.5rem);
  line-height: 1.55;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 4.8vw, 92px);
  margin: clamp(42px, 5vw, 72px) 0 0;
  padding-bottom: clamp(36px, 4.6vw, 62px);
  border-bottom: 1px solid var(--line);
}

.project-meta dt {
  color: var(--muted);
  font-size: clamp(0.75rem, 0.82vw, 0.9375rem);
  line-height: 1;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 18px 0 0;
  color: var(--white);
  font-size: clamp(1rem, 1.22vw, 1.375rem);
  font-weight: 500;
  line-height: 1.2;
}

.project-image {
  justify-self: end;
  align-self: start;
  width: 100%;
  max-width: 860px;
  height: clamp(560px, 48vw, 760px);
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  width: min(47%, 790px);
  margin: 0;
  position: absolute;
  left: 0;
  bottom: clamp(20px, 4vw, 58px);
  z-index: 2;
}

.circle-button {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

button.circle-button {
  cursor: pointer;
}

.circle-button:hover,
.article-row:hover .circle-button {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: scale(0.94);
}

.cta-band,
.final-cta {
  padding-block: clamp(104px, 10vw, 160px);
  background: var(--surface);
}

.final-cta {
  background: var(--black);
  border-top: 1px solid var(--line-soft);
}

.cta-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(38px, 8vw, 100px);
  align-items: center;
}

.cta-grid h2 {
  font-size: 5rem;
}

.cta-grid .social-row {
  justify-content: flex-start;
  margin-top: 22px;
}

.testimonial-head {
  align-items: start;
}

.testimonial-head p {
  margin-bottom: 28px;
}

.quote-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  margin-top: 30px;
  text-align: center;
}

.quote {
  display: none;
  width: min(760px, 100%);
  padding-inline: 56px;
}

.quote.is-active {
  display: block;
  animation: fadeUp 420ms var(--ease) both;
}

.quote h3 {
  margin-bottom: 18px;
}

.quote p {
  margin-inline: auto;
  font-size: 16px;
}

.quote small {
  display: block;
  margin-top: 20px;
  color: var(--white);
  font-size: 13px;
}

.quote-mark {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
  font-size: 17.5rem;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.quote-mark.left {
  left: 3%;
  top: -14px;
}

.quote-mark.right {
  right: 2%;
  bottom: -60px;
}

.dots {
  position: absolute;
  bottom: 22px;
  display: flex;
  gap: 10px;
}

.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--subtle);
  cursor: pointer;
}

.dots button.is-active {
  background: var(--white);
}

.news-head {
  align-items: center;
}

.news-head .button {
  justify-self: end;
}

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

.article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px 60px;
  align-items: center;
  gap: 28px;
  min-height: 148px;
  border-bottom: 1px solid var(--line-soft);
  transition: transform 300ms ease;
}

.article-row:hover {
  transform: translateX(8px);
}

.article-title {
  max-width: 640px;
  color: var(--white);
  font-size: 2.125rem;
  line-height: 1.16;
}

.article-meta {
  color: var(--muted);
  font-size: 13px;
}

.article-meta i {
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-inline: 12px;
  vertical-align: middle;
  background: var(--line);
}

.site-footer {
  padding-block: 0 32px;
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 7fr 2fr 3fr;
  gap: 54px;
  padding-block: 80px;
}

.footer-links.multi {
  columns: 3;
  column-gap: 36px;
}

.social-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.social-gallery a {
  aspect-ratio: 1 / 1;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom .brand {
  justify-self: start;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.footer-bottom .social-row {
  justify-content: flex-end;
}

.floating-contact {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 55;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.floating-contact-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  min-height: 54px;
  padding: 0 20px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transform-origin: 80% 50%;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.floating-contact-toggle:hover,
.floating-contact-toggle[aria-expanded="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.floating-contact-plus {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 260ms var(--ease);
}

.floating-contact-toggle[aria-expanded="true"] .floating-contact-plus {
  transform: rotate(45deg);
}

.floating-contact-menu {
  display: grid;
  width: min(320px, calc(100vw - 28px));
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(16, 16, 16, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transform-origin: right bottom;
}

.floating-contact-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-contact-menu a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 62px;
  padding: 10px;
  border-radius: 6px;
  color: var(--white);
  transition: background 220ms ease, transform 220ms ease;
}

.floating-contact-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-3px);
}

.floating-contact-menu a > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.floating-contact-menu strong,
.floating-contact-menu small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-contact-menu strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.floating-contact-menu small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.reveal {
  animation: fadeUp 800ms var(--ease) both;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 780ms var(--ease), transform 780ms var(--ease);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle.icon-button {
    display: inline-grid;
    justify-self: start;
  }

  .header-grid {
    grid-template-columns: 1fr auto 1fr;
  }

  h1 {
    font-size: 5rem;
  }

  h2,
  .cta-grid h2 {
    font-size: 3.75rem;
  }

  .service-item > button {
    font-size: 3.5rem;
  }

  .service-item.is-open {
    min-height: clamp(430px, 56vw, 560px);
  }

  .service-content {
    width: min(620px, 68%);
  }

  .hero {
    min-height: 780px;
  }

  .hero-media {
    left: 28%;
    height: 680px;
  }

  .split-intro,
  .portfolio-top,
  .news-head,
  .testimonial-head,
  .cta-grid,
  .project-slide {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .project-slider {
    min-height: 600px;
  }

  .project-slide {
    gap: clamp(34px, 4vw, 48px);
  }

  .project-copy {
    min-height: 540px;
    padding-bottom: 118px;
  }

  .project-copy h3 {
    font-size: 3.5rem;
  }

  .project-image {
    height: 560px;
  }

  .carousel-controls {
    width: 46%;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding-top: 16px;
  }

  .header-grid {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .brand-logo {
    width: 140px;
    height: 38px;
  }

  .header-cta.button.compact {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  .cta-grid h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .stats-grid strong,
  .service-item > button {
    font-size: 2.125rem;
  }

  .article-title {
    font-size: 1.375rem;
  }

  .hero {
    min-height: auto;
    padding-block: 124px 72px;
  }

  .hero .hero-media {
    position: relative;
    inset: auto;
    order: 2;
    height: 430px;
    width: calc(100% - var(--pad-x));
    margin-left: auto;
    margin-top: 38px;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    padding-top: 0;
  }

  .section-marker {
    grid-template-columns: 42px 1fr;
  }

  .split-intro,
  .portfolio-top,
  .news-head,
  .testimonial-head,
  .cta-grid,
  .project-slide,
  .service-content,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .portfolio-socials,
  .news-head .button {
    justify-self: start;
    justify-content: flex-start;
  }

  .portfolio {
    padding-block: 78px;
  }

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

  .stats-grid div {
    padding: 22px 0 24px;
  }

  .stats-grid div:nth-child(odd) {
    text-align: left;
  }

  .stats-grid div:nth-child(even) {
    text-align: right;
  }

  .stats-grid div:nth-child(2) {
    border-right: 0;
  }

  .service-item > button {
    min-height: 72px;
    align-items: center;
    gap: 18px;
  }

  .service-item > button > span:first-child {
    transform: none;
  }

  .service-symbol {
    flex: 0 0 auto;
  }

  .service-item.is-open {
    min-height: 560px;
  }

  .service-media {
    inset: 150px 0 0;
  }

  .service-media::before {
    background:
      linear-gradient(180deg, #060606 0%, rgba(6, 6, 6, 0.94) 18%, rgba(6, 6, 6, 0.58) 48%, rgba(6, 6, 6, 0.32) 100%),
      linear-gradient(90deg, rgba(6, 6, 6, 0.9) 0%, rgba(6, 6, 6, 0.34) 100%);
  }

  .service-media img {
    object-position: center;
  }

  .service-content {
    width: 100%;
  }

  .project-slider {
    min-height: 0;
  }

  .project-slide.is-active {
    display: flex;
    flex-direction: column-reverse;
    gap: 28px;
  }

  .project-copy {
    min-height: 0;
    padding-block: 0;
  }

  .project-copy h3 {
    max-width: 620px;
    font-size: clamp(2.375rem, 10vw, 3.25rem);
  }

  .project-copy p {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .project-image {
    height: 420px;
    max-width: none;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
    padding-bottom: 30px;
  }

  .carousel-controls {
    max-width: none;
    width: 100%;
    position: static;
    margin-top: 28px;
  }

  .quote {
    padding-inline: 0;
  }

  .quote-stage {
    min-height: 440px;
  }

  .quote-mark {
    font-size: 170px;
  }

  .article-row {
    grid-template-columns: 1fr 48px;
    min-height: 150px;
  }

  .article-meta {
    grid-column: 1;
    grid-row: 2;
  }

  .article-row .circle-button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links.multi {
    columns: 2;
  }

  .footer-bottom .brand,
  .footer-bottom .social-row {
    justify-self: start;
    justify-content: flex-start;
  }

  .footer-bottom p {
    text-align: left;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-x: 18px;
  }

  h1 {
    font-size: 47px;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .brand-logo {
    width: 116px;
    height: 34px;
  }

  .header-cta.button.compact {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .wide-photo,
  .hero-media,
  .project-image {
    height: 330px;
  }

  .project-copy h3 {
    font-size: 2.375rem;
  }

  .circle-button {
    width: 68px;
    height: 58px;
    font-size: 28px;
  }

  .stats-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .service-item.is-open {
    min-height: 540px;
  }

  .service-media {
    top: 180px;
  }

  .stats-grid div:nth-child(n) {
    min-width: 62%;
    padding: 22px 18px 24px 0;
    scroll-snap-align: start;
    text-align: left;
  }

  .footer-links.multi {
    columns: 1;
  }

  .social-gallery {
    gap: 10px;
  }

  .floating-contact-toggle {
    min-width: 54px;
    width: 54px;
    padding: 0;
  }

  .floating-contact-toggle > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
