:root {
  --black: #070707;
  --graphite: #1c1e21;
  --steel: #5f646b;
  --line: rgba(7, 7, 7, 0.12);
  --smoke: #f4f4f1;
  --white: #ffffff;
  --warm: #b8945f;
  --radius-small: 8px;
  --radius-medium: 14px;
  --radius-large: 24px;
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.08);
  --shadow-premium: 0 32px 100px rgba(0, 0, 0, 0.14);
  --max-width: 1380px;
  --shadow: var(--shadow-premium);
  --radius: var(--radius-small);
  --max: var(--max-width);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 16px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--black);
  background: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid rgba(222, 222, 222, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 42px;
  border: 2px solid currentColor;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid currentColor;
}

.brand-mark::after {
  left: auto;
  width: 12px;
  transform: translateX(14px);
  opacity: 0.72;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0.24em;
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.74;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.84rem;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 720;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.header-cta {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .header-cta,
.site-header.nav-active .header-cta {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

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

.button-light {
  color: var(--black);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.8);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.section-pad {
  padding: clamp(84px, 10vw, 146px) clamp(20px, 4vw, 64px);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.54) 34%, rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 48%, rgba(0, 0, 0, 0.72));
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(720px, 52vw);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 132px 0 96px clamp(20px, 5vw, 84px);
  color: var(--white);
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 6.8vw, 7rem);
  font-weight: 560;
  line-height: 0.93;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 62vw;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

.image-mask {
  height: 100%;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  animation: heroZoom 11s ease-out forwards;
}

.hero-media figcaption {
  position: absolute;
  right: clamp(20px, 4vw, 58px);
  bottom: clamp(28px, 5vw, 72px);
  z-index: 5;
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.hero-media figcaption span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark-gallery .eyebrow,
.statement-section .eyebrow,
.quote-section .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

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

h2 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.4vw, 4.8rem);
  font-weight: 560;
  line-height: 1;
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.2;
}

p {
  color: var(--steel);
  line-height: 1.72;
}

.intro-band {
  position: relative;
  background: var(--white);
}

.intro-band::before {
  content: "";
  position: absolute;
  top: -110px;
  left: 0;
  width: 100%;
  height: 112px;
  background: linear-gradient(180deg, transparent, var(--white));
  pointer-events: none;
}

.intro-grid,
.gallery-section,
.process,
.contact {
  max-width: var(--max);
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.vision-feature .section-heading {
  margin-bottom: 0;
}

.intro-copy {
  padding-top: clamp(12px, 4vw, 48px);
}

.profile-cutaway {
  position: relative;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 25%, rgba(185, 149, 98, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7f7f5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transform: translateY(28px) scale(0.975);
}

.profile-cutaway.is-visible {
  transform: translateY(0) scale(1);
}

.profile-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: clamp(18px, 4vw, 40px);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244,244,242,0.84)),
    repeating-linear-gradient(90deg, rgba(5,5,5,0.035) 0 1px, transparent 1px 44px);
  overflow: hidden;
}

.profile-image-wrap img {
  display: block;
  width: min(100%, 520px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.22));
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.15, 1), filter 700ms ease;
}

.profile-cutaway:hover .profile-image-wrap img {
  transform: scale(1.035) translateY(-4px);
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.26));
}

.profile-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
}

.profile-caption {
  margin: 18px 0 0;
  max-width: 520px;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.7;
}

.profile-fallback {
  display: none;
  max-width: 360px;
  padding: 18px 20px;
  color: var(--steel);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(32, 33, 36, 0.24);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.profile-cutaway.is-missing .profile-image-wrap img {
  display: none;
}

.profile-cutaway.is-missing .profile-fallback {
  display: block;
}

.metrics {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.metric-card {
  display: grid;
  grid-template-columns: 54px auto 1fr;
  gap: 16px;
  align-items: start;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.045);
  color: var(--black);
  font-weight: 650;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  transition-delay: var(--delay, 0ms);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: #bfc2c6;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.09);
}

.metric-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--smoke);
}

.metric-icon svg {
  width: 42px;
  height: 42px;
}

.metric-icon path,
.metric-icon circle {
  fill: none;
  stroke: var(--black);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-icon .accent {
  stroke: var(--warm);
}

.metric-number {
  color: var(--warm);
  padding-top: 3px;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.metric-content h3 {
  margin-bottom: 8px;
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 720;
}

.metric-content p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 0.94rem;
  line-height: 1.62;
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-heading p:not(.eyebrow) {
  max-width: 700px;
}

.transition-fade {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, #f5f5f3 100%);
}

.transition-fade::after,
.dark-gallery::before,
.quote-section::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 110px;
  pointer-events: none;
}

.transition-fade::after {
  bottom: -1px;
  background: linear-gradient(180deg, transparent, var(--black));
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 96px;
  gap: clamp(14px, 2vw, 22px);
}

.project-tile {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 38%);
  opacity: 0.82;
  transition: opacity 320ms ease;
}

.project-tile img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.15, 1), filter 320ms ease;
}

.project-tile:hover img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.1);
  filter: saturate(0.9) contrast(1.05);
}

.project-tile:hover::after {
  opacity: 0.98;
}

.tile-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  color: var(--white);
}

.tile-caption span {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tile-caption h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.7vw, 2.5rem);
  font-weight: 560;
}

.tile-large {
  grid-column: span 7;
  grid-row: span 7;
}

.tile-wide {
  grid-column: span 5;
  grid-row: span 4;
}

.tile-tall {
  grid-column: span 5;
  grid-row: span 6;
}

.statement-section {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 13vw, 180px) clamp(20px, 4vw, 64px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(29, 31, 34, 0.94)),
    radial-gradient(circle at 75% 20%, rgba(185, 149, 98, 0.16), transparent 36%);
}

.statement-section::before,
.statement-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}

.statement-section::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent);
}

.statement-section::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent);
}

.statement-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-inline: auto;
}

.statement-inner h2 {
  color: var(--white);
}

.dark-gallery {
  position: relative;
  max-width: none;
  color: var(--white);
  background: var(--black);
}

.dark-gallery::before {
  top: -1px;
  background: linear-gradient(180deg, var(--black), transparent);
}

.dark-gallery .section-heading,
.dark-gallery .masonry-gallery {
  max-width: var(--max);
  margin-inline: auto;
}

.dark-gallery p,
.dark-gallery h2 {
  color: var(--white);
}

.dark-gallery .project-tile {
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.motion-systems {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 244, 242, 0.72), rgba(255, 255, 255, 0) 22%),
    var(--white);
}

.motion-systems::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 5, 5, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
}

.motion-heading,
.motion-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-inline: auto;
}

.motion-heading {
  margin-bottom: clamp(30px, 5vw, 64px);
}

.motion-heading h2 {
  max-width: 920px;
}

.motion-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  min-height: 620px;
}

.motion-copy {
  max-width: 530px;
}

.system-selector,
.state-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-selector {
  margin-bottom: 38px;
}

.system-selector button,
.state-controls button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-weight: 720;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.system-selector button:hover,
.state-controls button:hover {
  transform: translateY(-1px);
  color: var(--black);
  border-color: #babdc1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.system-selector button.is-active,
.state-controls button.is-active {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.motion-kicker {
  margin-bottom: 12px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.motion-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.5vw, 3.55rem);
  font-weight: 560;
  line-height: 1;
}

.motion-copy p:not(.motion-kicker) {
  color: var(--steel);
}

.motion-benefits {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 30px;
  list-style: none;
}

.motion-benefits li {
  position: relative;
  padding-left: 22px;
  color: var(--graphite);
  font-weight: 650;
}

.motion-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  background: var(--warm);
}

.motion-quote {
  cursor: pointer;
}

.motion-visual {
  display: grid;
  gap: 12px;
}

.state-controls {
  justify-content: flex-end;
}

.state-label,
.stage-note {
  margin: 0;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-label {
  justify-self: end;
}

.stage-note {
  justify-self: end;
  max-width: 520px;
  text-align: right;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
}

.system-stage {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(196, 154, 93, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(14, 15, 17, 0.08) 64%, rgba(5, 5, 5, 0.18)),
    radial-gradient(circle at 50% 17%, rgba(255, 255, 255, 1), rgba(235, 238, 240, 0.92) 38%, rgba(204, 209, 214, 0.8) 100%),
    #eceff1;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  perspective: 1400px;
}

.system-stage::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -14%;
  left: -8%;
  height: 38%;
  background:
    linear-gradient(90deg, transparent, rgba(196, 154, 93, 0.42), transparent) 50% 42% / 58% 2px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(180, 185, 190, 0.34));
  border-top: 1px solid rgba(255, 255, 255, 0.74);
  transform: perspective(900px) rotateX(62deg);
  transform-origin: bottom center;
  filter: blur(0.1px);
  pointer-events: none;
}

.system-stage::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 12%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

.technical-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 5, 5, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%);
}

.system-render-card {
  position: absolute;
  inset: clamp(18px, 4vw, 42px);
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  margin: 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--radius) - 2px);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.32) 42%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(230, 232, 234, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 28px 74px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.system-render-card::after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 14%;
  left: 14%;
  height: 34px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.22), transparent 70%);
  filter: blur(14px);
}

.system-render-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.22));
  transform: translateY(0) scale(1);
  transition: opacity 260ms ease, transform 700ms cubic-bezier(0.2, 0.72, 0.15, 1), filter 700ms ease;
}

.system-render-image.is-switching {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.system-render-card:hover .system-render-image {
  transform: translateY(-4px) scale(1.018);
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.26));
}

.system-render-caption {
  position: relative;
  z-index: 2;
  justify-self: start;
  margin-top: 12px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  pointer-events: none;
}

.system-hotspots.is-active {
  display: block;
}

.css-window-model {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease;
}

.css-window-model.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.model-scene {
  position: relative;
  width: min(80%, 560px);
  height: min(72%, 420px);
  transform-style: preserve-3d;
  transform: rotateX(7deg) rotateY(-18deg);
  transition: transform 700ms ease;
}

.system-stage:hover .model-scene {
  transform: rotateX(5deg) rotateY(-12deg) translateZ(8px);
}

.model-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -50px;
  height: 54px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.14) 42%, transparent 72%);
  filter: blur(12px);
  transform: rotateX(78deg);
}

.tilt-frame,
.lift-frame,
.fold-frame {
  position: absolute;
  inset: 7% 4% 8%;
  transform-style: preserve-3d;
}

.frame-top,
.frame-bottom,
.frame-left,
.frame-right,
.sash-top,
.sash-bottom,
.sash-left,
.sash-right {
  position: absolute;
  background: linear-gradient(135deg, #030303, #23262a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 32px rgba(0, 0, 0, 0.18);
}

.frame-top,
.frame-bottom,
.sash-top,
.sash-bottom {
  right: 0;
  left: 0;
  height: 18px;
}

.frame-top,
.sash-top {
  top: 0;
}

.frame-bottom,
.sash-bottom {
  bottom: 0;
}

.frame-left,
.frame-right,
.sash-left,
.sash-right {
  top: 0;
  bottom: 0;
  width: 18px;
}

.frame-left,
.sash-left {
  left: 0;
}

.frame-right,
.sash-right {
  right: 0;
}

.tilt-sash {
  position: absolute;
  inset: 42px 46px;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.15, 1), box-shadow 700ms ease;
}

.glass-pane,
.panel-glass,
.fold-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.62) 0 12%, transparent 13% 28%, rgba(255, 255, 255, 0.36) 29% 34%, transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(142, 170, 188, 0.22) 44%, rgba(18, 22, 27, 0.42)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  box-shadow: inset 0 0 54px rgba(255, 255, 255, 0.24), inset 14px 0 30px rgba(255, 255, 255, 0.14), 0 22px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
}

.glass-pane {
  inset: 24px;
}

.tilt-turn-model.state-ventilation .tilt-sash {
  transform: rotateX(-15deg) translateZ(58px);
}

.tilt-turn-model.state-open .tilt-sash {
  transform: rotateY(-84deg) translateZ(18px);
}

.air-flow {
  position: absolute;
  inset: 22% 22% 24%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
  transform: translateZ(95px);
}

.tilt-turn-model.state-ventilation .air-flow {
  opacity: 1;
}

.air-flow span {
  position: absolute;
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(118, 165, 196, 0.72), transparent);
  animation: airMove 1.8s ease-in-out infinite;
}

.air-flow span:nth-child(1) {
  top: 18%;
  left: 8%;
}

.air-flow span:nth-child(2) {
  top: 38%;
  left: 22%;
  animation-delay: 220ms;
}

.air-flow span:nth-child(3) {
  top: 58%;
  left: 5%;
  animation-delay: 420ms;
}

.air-flow span:nth-child(4) {
  top: 76%;
  left: 26%;
  animation-delay: 640ms;
}

.lift-frame,
.fold-frame {
  border: 18px solid var(--black);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 50px rgba(0, 0, 0, 0.14);
}

.lift-fixed,
.lift-moving {
  top: 10%;
  bottom: 15%;
  width: 43%;
}

.lift-fixed {
  left: 5%;
}

.lift-moving {
  left: 50%;
  border: 10px solid #101114;
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.15, 1);
}

.lift-mullion {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 49%;
  width: 12px;
  background: #0a0a0b;
}

.lift-track,
.fold-track {
  position: absolute;
  right: 2%;
  bottom: 6%;
  left: 2%;
  height: 8px;
  background: linear-gradient(90deg, #111, #b99562, #111);
}

.seal-line {
  position: absolute;
  right: 8%;
  bottom: 15%;
  left: 52%;
  height: 2px;
  background: rgba(185, 149, 98, 0.78);
  transform-origin: center;
  transition: transform 700ms ease, opacity 700ms ease;
}

.lift-slide-model.state-lift .lift-moving,
.lift-slide-model.state-slide .lift-moving {
  transform: translateY(-22px);
}

.lift-slide-model.state-slide .lift-moving {
  transform: translateX(-48%) translateY(-22px);
}

.lift-slide-model.state-lift .seal-line,
.lift-slide-model.state-slide .seal-line {
  transform: translateY(16px) scaleX(1.08);
  opacity: 0.42;
}

.fold-frame {
  border-width: 12px;
}

.fold-panel {
  top: 9%;
  bottom: 14%;
  width: 34%;
  border: 7px solid #111215;
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.15, 1);
}

.panel-one {
  left: 4%;
}

.panel-two {
  left: 33%;
}

.panel-three {
  left: 62%;
}

.fold-model.state-partial .panel-two {
  transform: translateX(-34%);
}

.fold-model.state-open .panel-two {
  transform: translateX(-58%);
}

.fold-model.state-open .panel-three {
  transform: translateX(-28%);
}

.system-hotspot {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(196, 154, 93, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(196, 154, 93, 0.42);
  cursor: help;
  transform: translateZ(125px);
  animation: hotspotPulse 2.4s ease-out infinite;
  pointer-events: auto;
}

.system-hotspot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
}

.system-hotspot span {
  position: absolute;
  left: 24px;
  top: 50%;
  min-width: max-content;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(5, 5, 5, 0.88);
  border: 1px solid rgba(196, 154, 93, 0.26);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-50%) translateX(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 0.76rem;
  font-weight: 760;
  white-space: nowrap;
}

@keyframes hotspotPulse {
  0% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(196, 154, 93, 0.42);
  }
  70% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 0 0 12px rgba(196, 154, 93, 0);
  }
  100% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(196, 154, 93, 0);
  }
}

.system-hotspot:hover span,
.system-hotspot:focus-visible span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.hotspot-security,
.hotspot-slide,
.hotspot-profile {
  left: 18%;
  top: 28%;
}

.hotspot-vent,
.hotspot-large,
.hotspot-light {
  right: 18%;
  top: 24%;
}

.hotspot-seal,
.hotspot-view,
.hotspot-connect {
  left: 30%;
  bottom: 18%;
}

.hotspot-acoustic,
.hotspot-comfort,
.hotspot-minimal {
  right: 24%;
  bottom: 28%;
}

@keyframes airMove {
  0% {
    opacity: 0;
    transform: translateX(-22px);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(52px);
  }
}

.process {
  background: var(--smoke);
  max-width: none;
}

.process .section-heading,
.process-line {
  max-width: var(--max);
  margin-inline: auto;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 42px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: #c9c9c6;
}

.process-step {
  position: relative;
  z-index: 1;
  min-height: 118px;
  padding: 22px 16px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  background: var(--black);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
}

.process-step h3 {
  margin: 0;
  font-size: 0.95rem;
}

.quote-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.92), rgba(29, 31, 34, 0.92)),
    url("assets/residential-2.png") center / cover fixed;
}

.quote-section::before {
  top: -1px;
  background: linear-gradient(180deg, var(--white), transparent);
}

.quote-copy,
.quote-form {
  width: min(100%, calc(var(--max) / 2));
}

.quote-copy {
  justify-self: end;
}

.quote-section h2,
.quote-section p {
  color: var(--white);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #f2f3f4;
  font-size: 0.86rem;
  font-weight: 720;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
}

.quote-form textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.1);
}

address {
  display: grid;
  gap: 12px;
  color: var(--steel);
  font-style: normal;
}

address a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 34px;
  align-items: center;
  padding: 42px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: var(--black);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  letter-spacing: 0.24em;
}

.footer-brand span,
.site-footer p,
.site-footer small {
  margin: 0;
  color: #c6c9cf;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.site-footer small {
  grid-column: 1 / -1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms ease;
}

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

.profile-cutaway.reveal {
  transform: translateY(28px) scale(0.975);
}

.profile-cutaway.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.metric-card.reveal {
  transition-delay: var(--delay, 0ms);
}

.project-tile.reveal {
  transform: translateY(34px) scale(0.985);
}

.project-tile.reveal.is-visible {
  transform: translateY(0) scale(1);
}

@keyframes heroZoom {
  from {
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.1);
  }
  to {
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav.is-open {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 14px;
    color: var(--black);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .primary-nav.is-open a {
    padding: 14px 6px;
  }

  .hero-copy {
    width: min(760px, 70vw);
  }

  .hero-media {
    width: 70vw;
    opacity: 0.86;
  }

  .intro-grid,
  .quote-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .quote-copy,
  .quote-form {
    width: min(100%, var(--max));
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 100svh;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.9));
  }

  .hero-copy {
    width: 100%;
    justify-content: flex-end;
    padding: 120px 20px 86px;
  }

  .hero-media {
    width: 100%;
    height: 62vh;
  }

  .image-mask {
    clip-path: none;
  }

  .hero-media figcaption {
    display: none;
  }

  .masonry-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .tile-large,
  .tile-wide,
  .tile-tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 420px;
  }

  .project-tile img {
    height: 112%;
  }

  .motion-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .motion-copy {
    max-width: none;
  }

  .state-controls {
    justify-content: flex-start;
  }

  .state-label,
  .stage-note {
    justify-self: start;
    text-align: left;
  }

  .system-stage {
    min-height: 540px;
  }

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

  .process-line::before {
    display: none;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .hero-media {
    height: 56vh;
  }

  .tile-large,
  .tile-wide,
  .tile-tall {
    min-height: 340px;
  }

  .profile-image-wrap {
    min-height: 240px;
    padding: 18px;
  }

  .profile-image-wrap img {
    max-height: 260px;
  }

  .metric-card {
    grid-template-columns: 48px 1fr;
    gap: 12px 14px;
  }

  .metric-icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
  }

  .metric-icon svg {
    width: 38px;
    height: 38px;
  }

  .metric-number,
  .metric-content {
    grid-column: 2;
  }

  .motion-systems {
    min-height: auto;
  }

  .motion-heading h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .system-selector button,
  .state-controls button {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .system-stage {
    min-height: 430px;
  }

  .model-scene {
    width: 86%;
    height: 66%;
    transform: rotateX(6deg) rotateY(-12deg);
  }

  .system-hotspot span {
    min-width: 0;
    max-width: 150px;
    white-space: normal;
    text-align: center;
  }

  .hotspot-security span,
  .hotspot-slide span,
  .hotspot-profile span,
  .hotspot-seal span,
  .hotspot-view span,
  .hotspot-connect span {
    left: 24px;
    right: auto;
  }

  .hotspot-vent span,
  .hotspot-large span,
  .hotspot-light span,
  .hotspot-acoustic span,
  .hotspot-comfort span,
  .hotspot-minimal span {
    left: auto;
    right: 24px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: auto;
  }

  .quote-section {
    background-attachment: scroll;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

/* Premium refinement layer */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 4px;
}

.site-header {
  min-height: 70px;
  padding-block: 12px;
}

.primary-nav {
  gap: clamp(18px, 2.2vw, 34px);
}

.primary-nav a.is-active {
  color: var(--warm);
}

.primary-nav a.is-active::after {
  background: var(--warm);
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 42px;
  gap: 9px;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding-inline: 17px;
  font-size: 0.84rem;
}

.header-cta span,
.button::after {
  transition: transform 220ms ease;
}

.header-cta:hover span,
.button:hover::after {
  transform: translateX(3px);
}

.button {
  border-radius: var(--radius-small);
}

.button-dark::after,
.button-light::after {
  content: "→";
  margin-left: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  min-height: 100svh;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.44) 38%, rgba(0, 0, 0, 0.03) 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 54%, rgba(0, 0, 0, 0.58));
}

.hero-copy {
  width: auto;
  max-width: 760px;
  padding-right: clamp(18px, 3vw, 42px);
  animation: heroTextIn 850ms ease both;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 5.9vw, 6.6rem);
}

.hero-line {
  margin-top: clamp(34px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.78rem !important;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-media {
  width: 58vw;
}

.hero-tags {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-tags span {
  position: absolute;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(7, 7, 7, 0.24);
  backdrop-filter: blur(14px);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, calc(var(--parallax-y, 0px) + 10px), 0);
  animation: tagIn 780ms ease forwards;
}

.hero-tags span:nth-child(1) {
  top: 25%;
  left: 18%;
  animation-delay: 420ms;
}

.hero-tags span:nth-child(2) {
  top: 43%;
  right: 12%;
  animation-delay: 560ms;
}

.hero-tags span:nth-child(3) {
  right: 24%;
  bottom: 27%;
  animation-delay: 700ms;
}

.hero-tags span:nth-child(4) {
  left: 12%;
  bottom: 20%;
  animation-delay: 840ms;
}

.scroll-indicator {
  position: absolute;
  left: clamp(20px, 5vw, 84px);
  bottom: 28px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 44px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.scroll-indicator span {
  width: 3px;
  height: 9px;
  border-radius: 99px;
  background: var(--white);
  animation: scrollCue 1.7s ease-in-out infinite;
}

.profile-image-wrap {
  overflow: visible;
}

.profile-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(7, 7, 7, 0.12);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-chambers {
  left: 7%;
  top: 18%;
}

.tag-seal {
  right: 8%;
  top: 28%;
}

.tag-glass {
  right: 11%;
  bottom: 17%;
}

.metric-card {
  grid-template-columns: 46px 54px 1fr;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.metric-card:hover {
  border-color: rgba(7, 7, 7, 0.24);
  box-shadow: none;
}

.metric-icon {
  border-radius: var(--radius-small);
  background: transparent;
  transition: color 220ms ease, transform 220ms ease;
}

.metric-card:hover .metric-icon {
  transform: translateY(-2px);
}

.metric-card:hover .metric-icon .accent,
.value-item:hover .value-icon .accent {
  stroke: var(--warm);
}

.project-tile {
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.project-tile img {
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.15, 1), filter 320ms ease;
}

.project-tile:hover img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
}

.tile-caption p {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tile-open {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.dark-gallery .project-tile {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.motion-shell {
  grid-template-columns: minmax(300px, 0.74fr) minmax(560px, 1.26fr);
}

.motion-shell > *,
.motion-copy,
.motion-visual {
  min-width: 0;
}

.motion-copy {
  max-width: 560px;
}

.system-selector,
.state-controls {
  scrollbar-width: thin;
}

.system-selector button,
.state-controls button {
  min-width: max-content;
}

.state-progress {
  justify-self: end;
  width: min(100%, 420px);
  height: 2px;
  overflow: hidden;
  background: rgba(7, 7, 7, 0.12);
}

.state-progress span {
  display: block;
  width: var(--state-progress, 33.333%);
  height: 100%;
  background: var(--warm);
  transition: width 520ms cubic-bezier(0.2, 0.72, 0.15, 1);
}

.system-stage {
  min-height: 650px;
  border: 0;
  border-radius: var(--radius-medium);
}

.system-render-card {
  inset: clamp(8px, 2vw, 24px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.system-render-card::after {
  right: 8%;
  bottom: 10%;
  left: 8%;
  height: 42px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.24), transparent 70%);
}

.system-render-image {
  max-height: 540px;
  transition: opacity 520ms ease, transform 580ms cubic-bezier(0.2, 0.72, 0.15, 1), filter 580ms ease;
}

.system-render-caption {
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  backdrop-filter: blur(12px);
}

.system-detail-line {
  justify-self: end;
  margin: 0;
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-align: right;
}

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

.value-section .section-heading,
.value-grid {
  max-width: var(--max);
  margin-inline: auto;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-item {
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
}

.value-item:last-child {
  border-right: 0;
}

.value-item span {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.16em;
}

.value-icon {
  width: 46px;
  height: 46px;
  margin: 28px 0 22px;
}

.value-icon path,
.value-icon circle,
.contact-panel svg path,
.contact-panel svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-icon .accent {
  stroke: var(--warm);
}

.value-item h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.value-item p {
  margin: 0;
  font-size: 0.95rem;
}

.process-line {
  gap: 0;
}

.process-line::before {
  right: 5%;
  left: 5%;
  background: linear-gradient(90deg, var(--warm), rgba(7, 7, 7, 0.12));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 950ms ease;
}

.process-line.is-visible::before {
  transform: scaleX(1);
}

.process-step {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.process-step p {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.trust-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 1px;
  background: var(--warm);
}

.quote-form {
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
}

.quote-form label {
  color: var(--graphite);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  min-height: 50px;
  border-color: rgba(7, 7, 7, 0.14);
  background: var(--white);
  font-size: 1rem;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--warm);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(184, 148, 95, 0.18);
}

.quote-form label.has-error input,
.quote-form label.has-error select,
.quote-form label.has-error textarea {
  border-color: #9f2f23;
}

.field-error {
  min-height: 16px;
  color: #9f2f23;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-panel {
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.contact-note {
  margin-bottom: 0;
  color: var(--graphite);
  font-weight: 700;
}

address a,
address span {
  gap: 12px;
}

.contact-panel svg {
  width: 22px;
  height: 22px;
  color: var(--warm);
  flex: 0 0 auto;
}

.contact-whatsapp {
  width: max-content;
  margin-top: 8px;
}

.floating-whatsapp {
  animation: whatsappPulse 8s ease-in-out infinite;
}

.site-footer {
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(52px, 7vw, 88px);
}

.footer-brand strong {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer nav h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer nav a {
  min-height: 40px;
  color: #c6c9cf;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 58px);
  background: rgba(7, 7, 7, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--white);
}

.lightbox-dialog img {
  width: 100%;
  height: min(76vh, 720px);
  object-fit: cover;
}

.lightbox-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(22px, 3vw, 36px);
}

.lightbox-copy span {
  color: var(--warm);
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 2;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(7, 7, 7, 0.42);
  cursor: pointer;
}

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

@keyframes tagIn {
  to {
    opacity: 1;
    transform: translate3d(0, var(--parallax-y, 0px), 0);
  }
}

@keyframes scrollCue {
  0%,
  100% {
    transform: translateY(-7px);
    opacity: 0.45;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

@keyframes whatsappPulse {
  0%,
  82%,
  100% {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(184, 148, 95, 0);
  }
  90% {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), 0 0 0 12px rgba(184, 148, 95, 0.18);
  }
}

@media (max-width: 1120px) {
  .primary-nav {
    transform: translateY(-8px);
    opacity: 0;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .primary-nav.is-open {
    inset: 76px 16px auto;
    gap: 2px;
    padding: 18px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav.is-open a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .motion-shell,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 860px) {
  .hero {
    display: block;
  }

  .hero-copy {
    padding-bottom: 110px;
  }

  .hero-tags span {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .profile-tag {
    position: static;
    margin: 6px 4px 0;
  }

  .profile-image-wrap {
    align-content: center;
  }

  .metric-card {
    grid-template-columns: 46px 1fr;
  }

  .metric-number {
    grid-column: 1;
  }

  .motion-shell {
    gap: 34px;
  }

  .motion-copy,
  .motion-visual,
  .system-stage {
    width: 100%;
    max-width: 100%;
  }

  .system-selector,
  .state-controls {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .system-selector button,
  .state-controls button {
    scroll-snap-align: start;
  }

  .state-progress,
  .system-detail-line {
    justify-self: start;
    text-align: left;
  }

  .system-stage {
    min-height: clamp(340px, 72vw, 420px);
  }

  .system-render-image {
    max-height: 360px;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
  }

  .lightbox-dialog img {
    height: 56vh;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line::before {
    display: block;
    top: 18px;
    bottom: 18px;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .process-line.is-visible::before {
    transform: scaleY(1);
  }

  .process-step {
    min-height: auto;
    padding: 0 0 24px 66px;
    text-align: left;
  }

  .process-step span {
    position: absolute;
    left: 0;
    top: 0;
  }

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

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

@media (max-width: 560px) {
  .section-pad {
    padding-inline: 20px;
  }

  .intro-band.section-pad {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .profile-cutaway {
    padding: 16px;
  }

  .profile-image-wrap {
    min-height: 220px;
  }

  .profile-image-wrap img {
    max-height: 235px;
  }

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

  .hero-actions,
  .motion-quote,
  .quote-form .button {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .tile-caption p {
    display: block;
    font-size: 0.84rem;
  }

  .system-render-card {
    inset: 10px;
    padding: 10px;
  }

  .system-render-caption {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .quote-form {
    padding: 20px;
  }

  .contact-panel {
    padding: 24px 20px;
  }
}

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

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