:root {
  --font-ui: "Noto Kufi Arabic", sans-serif;
  --font-display: "Noto Kufi Arabic", sans-serif;
  --font-latin: "Manrope", sans-serif;
  --bg: #070707;
  --bg-soft: #111111;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4efe6;
  --muted: #cec3b2;
  --muted-strong: #b9ae9f;
  --accent: #bfd96d;
  --accent-strong: #d1b072;
  --shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.2);
  --transition: 220ms cubic-bezier(0.2, 1, 0.22, 1);
  --slide-ease: cubic-bezier(0.2, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: auto;
  overscroll-behavior: none;
}

body {
  margin: 0;
  overflow: hidden;
  font-family: var(--font-ui);
  color: var(--text);
  line-height: 1.9;
  background:
    radial-gradient(circle at 15% 18%, rgba(191, 217, 109, 0.1), transparent 23%),
    radial-gradient(circle at 84% 20%, rgba(209, 176, 114, 0.12), transparent 24%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 48%, #101010 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.backdrop-orb {
  position: fixed;
  width: 29rem;
  height: 29rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.backdrop-orb--one {
  top: -8rem;
  right: -7rem;
  background: rgba(191, 217, 109, 0.18);
}

.backdrop-orb--two {
  bottom: -10rem;
  left: -8rem;
  background: rgba(209, 176, 114, 0.16);
}

.backdrop-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background:
    radial-gradient(circle at center, transparent 0 52%, rgba(255, 255, 255, 0.13) 53%, transparent 54%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.04));
}

.site-header {
  position: fixed;
  inset-block-start: 1rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 70;
  width: min(1260px, calc(100vw - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.38rem;
  border-radius: 18px;
  border: 1px solid rgba(91, 71, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(247, 239, 226, 0.92));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.04);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition:
    color var(--transition),
    transform var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.icon-button {
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 50%;
}

.icon-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-button__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-toggle .icon-button__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition),
    color var(--transition);
}

.button:hover,
.slide-dot:hover,
.contact-card:hover,
.whatsapp-fab:hover {
  transform: translateY(-2px);
}

.button--mini {
  min-height: 44px;
  padding-inline: 1rem;
}

.button--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #e4c784);
  color: #121212;
  box-shadow: 0 16px 36px rgba(191, 217, 109, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button--soft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.slide-dots {
  position: fixed;
  inset-block-start: 50%;
  inset-inline-end: 1.2rem;
  transform: translateY(-50%);
  z-index: 70;
  display: grid;
  gap: 0.7rem;
}

.slide-dot {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  min-height: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-dot__label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    color var(--transition);
}

.slide-dot__core {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.slide-dot:hover .slide-dot__label,
.slide-dot.is-active .slide-dot__label {
  opacity: 1;
  transform: translateX(0);
}

.slide-dot.is-active .slide-dot__label {
  color: var(--text);
}

.slide-dot.is-active .slide-dot__core {
  background: var(--accent);
  border-color: transparent;
  transform: scale(1.28);
  box-shadow: 0 0 0 8px rgba(191, 217, 109, 0.14);
}

.slide-deck {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 6.4rem 0 4.5rem;
  display: flex;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.slide.is-active,
.slide.is-leaving {
  visibility: visible;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide.is-leaving {
  pointer-events: none;
}

.slide__media,
.slide__veil {
  position: absolute;
  inset: 0;
  will-change: transform, opacity, filter;
}

.slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.06);
  filter: saturate(0.92) contrast(1.03);
  will-change: transform, opacity, filter;
}

.slide__veil {
  pointer-events: none;
}

.slide__veil--hero {
  background:
    radial-gradient(circle at 72% 38%, rgba(191, 217, 109, 0.15), transparent 28%),
    radial-gradient(circle at 28% 72%, rgba(209, 176, 114, 0.12), transparent 22%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.52) 42%, rgba(8, 8, 8, 0.2) 100%);
}

.slide__veil--studio {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.42) 42%, rgba(7, 7, 7, 0.14) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.08), rgba(7, 7, 7, 0.46));
}

.slide--studio .slide__media img {
  object-position: center 36%;
  filter: saturate(1.02) contrast(1.06) brightness(0.8);
}

.slide__veil--project {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.45) 46%, rgba(8, 8, 8, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
}

.slide__veil--project-soft {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.38) 42%, rgba(10, 10, 10, 0.12) 100%),
    radial-gradient(circle at 78% 32%, rgba(255, 255, 255, 0.08), transparent 18%);
}

.slide__veil--project-deep {
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.95) 0%, rgba(6, 6, 6, 0.56) 46%, rgba(6, 6, 6, 0.2) 100%),
    radial-gradient(circle at 72% 38%, rgba(191, 217, 109, 0.08), transparent 20%);
}

.slide__veil--materials {
  background:
    radial-gradient(circle at 22% 20%, rgba(191, 217, 109, 0.1), transparent 18%),
    radial-gradient(circle at 78% 76%, rgba(209, 176, 114, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.86), rgba(12, 12, 12, 0.94));
}

.slide__veil--contact {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.54) 44%, rgba(8, 8, 8, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.54));
}

.slide__inner {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100vw - 2rem));
  min-height: calc(100svh - 11rem);
  margin: auto;
  will-change: transform, opacity;
}

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.98);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}

.slide.is-active [data-animate] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

.eyebrow,
.section-kicker,
.hero-plaque span,
.value-card__index {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.eyebrow,
.section-kicker,
.hero-plaque span,
.value-card__index {
  color: var(--accent);
  font-size: 0.78rem;
}

.section-intro h2,
.project-copy h2,
.contact-copy h2,
.hero-copy h1 {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-intro p,
.project-panel p,
.contact-copy p,
.material-card p,
.value-card p,
.modal-description,
.modal-list li,
.contact-card span,
.hero-plaque p,
.lede,
.project-subtitle {
  color: var(--muted);
  line-height: 1.95;
}

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.hero-copy,
.section-intro,
.materials-copy,
.contact-copy,
.project-copy {
  padding: clamp(1.05rem, 1.8vw, 1.45rem);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.58), rgba(11, 11, 11, 0.24));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  max-width: 39rem;
}

.hero-copy h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.45rem, 5.8vw, 4.6rem);
  max-width: 12ch;
}

.lede {
  max-width: 30rem;
  margin: 1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.82;
}

.hero-actions,
.project-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 2.2rem;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 0;
}

.hero-stats li {
  padding: 1.15rem 1.1rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-latin);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.hero-scene {
  --scene-x: 0;
  --scene-y: 0;
  position: relative;
  min-height: min(68vh, 42rem);
  perspective: 1800px;
  transform-style: preserve-3d;
}

.hero-scene__halo {
  position: absolute;
  inset: 13% 8% 14% 12%;
  border-radius: 38px;
  background:
    radial-gradient(circle at 26% 28%, rgba(191, 217, 109, 0.22), transparent 26%),
    radial-gradient(circle at 70% 72%, rgba(209, 176, 114, 0.2), transparent 24%);
  filter: blur(18px);
  transform: translate3d(calc(var(--scene-x) * -12px), calc(var(--scene-y) * -12px), -60px);
}

.hero-card,
.material-photo {
  position: absolute;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
}

.hero-card::after,
.material-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18));
}

.hero-card img,
.material-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 560ms ease,
    opacity 280ms ease,
    filter 560ms ease;
  filter: saturate(0.98) contrast(1.04);
}

.hero-card:hover img {
  transform: scale(1.04);
}

.hero-card--primary {
  inset: 8% 2% 12% 16%;
  transform:
    translate3d(calc(var(--scene-x) * -18px), calc(var(--scene-y) * -18px), -16px)
    rotateY(calc(var(--scene-x) * -6deg))
    rotateX(calc(var(--scene-y) * 4deg));
  animation: float-primary 13s ease-in-out infinite alternate;
}

.hero-card--secondary {
  inset: 0 48% 36% 0;
  transform:
    translate3d(calc(var(--scene-x) * 22px), calc(var(--scene-y) * -20px), 58px)
    rotateY(calc(var(--scene-x) * 8deg))
    rotateX(calc(var(--scene-y) * 4deg));
  animation: float-secondary 11s ease-in-out infinite alternate;
}

.hero-card--accent {
  inset: 54% 0 6% 58%;
  transform:
    translate3d(calc(var(--scene-x) * 14px), calc(var(--scene-y) * 14px), 82px)
    rotateY(calc(var(--scene-x) * 9deg))
    rotateX(calc(var(--scene-y) * -5deg));
  animation: float-accent 12s ease-in-out infinite alternate;
}

.hero-plaque {
  position: absolute;
  inset-inline-start: 10%;
  inset-block-end: 0;
  width: min(21rem, 72%);
  padding: 1.2rem 1.25rem 1.3rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.74), rgba(11, 11, 11, 0.46));
  transform:
    translate3d(calc(var(--scene-x) * -14px), calc(var(--scene-y) * 10px), 92px)
    rotateY(calc(var(--scene-x) * -5deg));
}

.hero-plaque strong {
  display: block;
  line-height: 1.5;
}

.hero-plaque p {
  margin: 0.8rem 0 0;
}

.scroll-hint {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 1.2rem;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.5);
  color: var(--muted);
  cursor: pointer;
  transition:
    transform var(--transition),
    color var(--transition),
    border-color var(--transition);
  will-change: transform, opacity;
}

.scroll-hint:hover {
  color: var(--text);
  transform: translateX(-50%) translateY(-2px);
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: end;
}

.section-intro {
  max-width: 38rem;
}

.section-intro h2,
.project-copy h2,
.materials-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.3vw, 3.35rem);
}

.section-intro p,
.materials-copy p,
.contact-copy p {
  max-width: 32rem;
  margin: 1rem 0 0;
  font-size: 0.96rem;
  line-height: 1.82;
}

.section-intro--light p {
  color: rgba(255, 255, 255, 0.8);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-self: end;
}

.value-card {
  min-height: 13.5rem;
  padding: 1.5rem;
  border-radius: 28px;
}

.value-card strong,
.material-card strong,
.contact-card strong,
.modal-block strong {
  display: block;
}

.value-card strong,
.material-card strong {
  margin: 0.7rem 0 0.4rem;
  font-size: 1.12rem;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(320px, 0.46fr);
  align-items: end;
  gap: 1rem;
}

.project-copy {
  max-width: 30rem;
}

.project-subtitle {
  margin: 1.15rem 0 0;
  max-width: 24rem;
  font-size: 1.08rem;
}

.project-panel {
  justify-self: end;
  width: min(28rem, 100%);
  padding: 1.55rem;
  border-radius: 30px;
}

.project-panel p {
  margin: 0;
}

.tag-list,
.modal-chip-list,
.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list {
  margin-top: 1.15rem;
}

.tag-list span,
.modal-chip-list span,
.partner-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.project-actions {
  margin-top: 1.15rem;
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
}

.materials-copy {
  max-width: 36rem;
}

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

.material-card {
  min-height: 11.7rem;
  padding: 1.5rem;
  border-radius: 28px;
}

.partner-strip {
  margin-top: 1.5rem;
}

.partner-strip > span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.materials-visuals {
  position: relative;
  min-height: min(72vh, 44rem);
}

.material-photo--primary {
  inset: 0 18% 23% 0;
}

.material-photo--secondary {
  inset: 34% 0 0 40%;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 1.5rem;
  align-items: end;
}

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

.contact-actions {
  margin-top: 1.9rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.social-links a {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-latin);
}

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

.contact-card {
  min-height: 9.6rem;
  padding: 1.4rem;
  border-radius: 28px;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.contact-card:hover {
  border-color: rgba(191, 217, 109, 0.24);
}

.contact-card strong {
  margin-bottom: 0.8rem;
}

.contact-card--branches {
  grid-column: span 2;
}

.whatsapp-fab {
  position: fixed;
  inset-inline-end: 1.15rem;
  inset-block-end: 1.15rem;
  z-index: 72;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 217, 109, 0.26);
  background: rgba(10, 10, 10, 0.88);
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.whatsapp-fab__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #24d366, #1ba84f);
  color: #fff;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(36, 211, 102, 0.22);
}

.whatsapp-fab__icon svg {
  width: 20px;
  height: 20px;
}

.whatsapp-fab > span:last-child {
  font-weight: 600;
}

.partner-pill {
  font-family: var(--font-latin);
}

body.is-transitioning .slide-dots,
body.is-transitioning .site-nav a,
body.is-transitioning .scroll-hint {
  pointer-events: none;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.detail-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(16px);
}

.detail-modal__dialog {
  position: relative;
  width: min(1160px, calc(100% - 2rem));
  margin: 5vh auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.92);
  box-shadow: var(--shadow-strong);
  transform: translateY(20px) scale(0.985);
  transition: transform var(--transition);
}

.detail-modal.is-open .detail-modal__dialog {
  transform: translateY(0) scale(1);
}

.detail-modal__close {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 2;
}

.modal-gallery {
  position: relative;
  display: grid;
  gap: 0.8rem;
}

.modal-stage {
  min-height: 35rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

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

.gallery-nav {
  position: absolute;
  inset-block-start: calc(50% - 1.5rem);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
  z-index: 1;
}

.gallery-nav--prev {
  inset-inline-start: 1rem;
}

.gallery-nav--next {
  inset-inline-end: 1rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
}

.gallery-thumb {
  flex: 0 0 88px;
  height: 88px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.56;
  transition:
    opacity var(--transition),
    transform var(--transition),
    border-color var(--transition);
}

.gallery-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(191, 217, 109, 0.5);
}

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

.modal-copy {
  padding: 2rem 1rem 1rem;
  max-height: calc(90vh - 2rem);
  overflow-y: auto;
}

.modal-copy h3 {
  margin: 0.35rem 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.modal-subtitle {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.84);
}

.modal-description {
  margin: 0.9rem 0 0;
}

.modal-list {
  margin: 0;
  padding-inline-start: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.modal-block + .modal-block {
  margin-top: 1.4rem;
}

.modal-block strong {
  margin-bottom: 0.75rem;
}

.modal-footer {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.modal-open {
  overflow: hidden;
}

html[lang="en"] body {
  font-family: var(--font-latin);
  line-height: 1.76;
}

html[lang="en"] .eyebrow,
html[lang="en"] .section-kicker,
html[lang="en"] .hero-plaque span,
html[lang="en"] .value-card__index {
  font-family: var(--font-latin);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[lang="en"] .brand-copy strong,
html[lang="en"] .hero-copy h1,
html[lang="en"] .section-intro h2,
html[lang="en"] .project-copy h2,
html[lang="en"] .materials-copy h2,
html[lang="en"] .contact-copy h2,
html[lang="en"] .modal-copy h3 {
  letter-spacing: -0.04em;
}

html[lang="en"] .slide-dot {
  justify-content: flex-start;
}

html[lang="en"] .slide-dot__label {
  transform: translateX(-10px);
}

html[lang="en"] .slide-dot:hover .slide-dot__label,
html[lang="en"] .slide-dot.is-active .slide-dot__label {
  transform: translateX(0);
}

html[data-theme="light"] {
  --bg: #f7f2e8;
  --bg-soft: #fcf8f0;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(91, 71, 38, 0.14);
  --text: #241e16;
  --muted: #6a5b47;
  --muted-strong: #544636;
  --shadow-strong: 0 30px 80px rgba(77, 58, 30, 0.16);
  --shadow-soft: 0 18px 44px rgba(77, 58, 30, 0.1);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 14% 18%, rgba(150, 178, 80, 0.16), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(210, 167, 106, 0.16), transparent 25%),
    linear-gradient(180deg, #fbf7f0 0%, #f5efe5 50%, #efe7da 100%);
}

html[data-theme="light"] body::before {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(48, 39, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 39, 28, 0.05) 1px, transparent 1px);
}

html[data-theme="light"] .backdrop-orb--one {
  background: rgba(150, 178, 80, 0.22);
}

html[data-theme="light"] .backdrop-orb--two {
  background: rgba(210, 167, 106, 0.18);
}

html[data-theme="light"] .backdrop-grid {
  opacity: 0.08;
  background:
    radial-gradient(circle at center, transparent 0 52%, rgba(44, 36, 28, 0.1) 53%, transparent 54%),
    linear-gradient(180deg, transparent, rgba(44, 36, 28, 0.04));
}

html[data-theme="light"] .site-header {
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 18px 46px rgba(86, 66, 37, 0.12);
}

html[data-theme="light"] .site-nav a {
  color: rgba(56, 45, 31, 0.7);
}

html[data-theme="light"] .slide-dot__label {
  color: rgba(56, 45, 31, 0.68);
}

html[data-theme="light"] .slide-dot__core {
  border-color: rgba(56, 45, 31, 0.22);
  background: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .button--ghost,
html[data-theme="light"] .button--soft,
html[data-theme="light"] .scroll-hint,
html[data-theme="light"] .icon-button,
html[data-theme="light"] .social-links a,
html[data-theme="light"] .detail-modal__close,
html[data-theme="light"] .gallery-nav {
  background: rgba(255, 255, 255, 0.7);
  color: #2a2218;
}

html[data-theme="light"] .tag-list span,
html[data-theme="light"] .modal-chip-list span,
html[data-theme="light"] .partner-pill,
html[data-theme="light"] .gallery-nav,
html[data-theme="light"] .hero-card,
html[data-theme="light"] .material-photo {
  border-color: rgba(91, 71, 38, 0.14);
}

html[data-theme="light"] .button--primary {
  background: linear-gradient(135deg, #a7c65c, #e2bf7d);
  box-shadow: 0 16px 34px rgba(150, 178, 80, 0.22);
}

html[data-theme="light"] .glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(252, 247, 240, 0.74));
}

html[data-theme="light"] .hero-copy,
html[data-theme="light"] .section-intro,
html[data-theme="light"] .materials-copy,
html[data-theme="light"] .contact-copy,
html[data-theme="light"] .project-copy {
  border-color: rgba(91, 71, 38, 0.14);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.86), rgba(248, 240, 230, 0.62));
}

html[data-theme="light"] .hero-stats li,
html[data-theme="light"] .tag-list span,
html[data-theme="light"] .modal-chip-list span,
html[data-theme="light"] .partner-pill,
html[data-theme="light"] .gallery-thumb,
html[data-theme="light"] .modal-stage {
  background: rgba(255, 255, 255, 0.68);
}

html[data-theme="light"] .section-intro--light p {
  color: rgba(50, 40, 28, 0.86);
}

html[data-theme="light"] .slide__veil--hero {
  background:
    radial-gradient(circle at 72% 38%, rgba(150, 178, 80, 0.14), transparent 24%),
    radial-gradient(circle at 28% 72%, rgba(210, 167, 106, 0.1), transparent 20%),
    linear-gradient(90deg, rgba(27, 21, 15, 0.18) 0%, rgba(27, 21, 15, 0.06) 42%, rgba(27, 21, 15, 0) 100%);
}

html[data-theme="light"] .slide__veil--studio {
  background:
    linear-gradient(90deg, rgba(27, 21, 15, 0.28) 0%, rgba(27, 21, 15, 0.1) 42%, rgba(27, 21, 15, 0.03) 100%),
    linear-gradient(180deg, rgba(255, 248, 239, 0.04), rgba(27, 21, 15, 0.12));
}

html[data-theme="light"] .slide__veil--project {
  background:
    linear-gradient(90deg, rgba(27, 21, 15, 0.22) 0%, rgba(27, 21, 15, 0.08) 46%, rgba(27, 21, 15, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 248, 239, 0.04), rgba(27, 21, 15, 0.08));
}

html[data-theme="light"] .slide__veil--project-soft {
  background:
    linear-gradient(90deg, rgba(27, 21, 15, 0.16) 0%, rgba(27, 21, 15, 0.06) 42%, rgba(27, 21, 15, 0.02) 100%),
    radial-gradient(circle at 78% 32%, rgba(248, 239, 227, 0.08), transparent 18%);
}

html[data-theme="light"] .slide__veil--project-deep {
  background:
    linear-gradient(90deg, rgba(27, 21, 15, 0.26) 0%, rgba(27, 21, 15, 0.1) 46%, rgba(27, 21, 15, 0.03) 100%),
    radial-gradient(circle at 72% 38%, rgba(150, 178, 80, 0.08), transparent 20%);
}

html[data-theme="light"] .slide__veil--materials {
  background:
    radial-gradient(circle at 22% 20%, rgba(150, 178, 80, 0.12), transparent 18%),
    radial-gradient(circle at 78% 76%, rgba(210, 167, 106, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(27, 21, 15, 0.08), rgba(27, 21, 15, 0.18));
}

html[data-theme="light"] .slide__veil--contact {
  background:
    linear-gradient(90deg, rgba(27, 21, 15, 0.24) 0%, rgba(27, 21, 15, 0.08) 44%, rgba(27, 21, 15, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 248, 239, 0.04), rgba(27, 21, 15, 0.1));
}

html[data-theme="light"] .whatsapp-fab {
  background: rgba(255, 250, 244, 0.94);
  color: #241e16;
  box-shadow: 0 16px 38px rgba(77, 58, 30, 0.14);
}

html[data-theme="light"] .detail-modal__backdrop {
  background: rgba(234, 227, 216, 0.76);
}

html[data-theme="light"] .detail-modal__dialog {
  background: rgba(251, 247, 241, 0.95);
}

html[data-theme="light"] .modal-subtitle {
  color: rgba(46, 36, 25, 0.78);
}

@keyframes float-primary {
  0% {
    transform:
      translate3d(calc(var(--scene-x) * -18px), calc(var(--scene-y) * -18px), -16px)
      rotateY(calc(var(--scene-x) * -6deg))
      rotateX(calc(var(--scene-y) * 4deg))
      translateY(0);
  }
  100% {
    transform:
      translate3d(calc(var(--scene-x) * -18px), calc(var(--scene-y) * -18px), -16px)
      rotateY(calc(var(--scene-x) * -6deg))
      rotateX(calc(var(--scene-y) * 4deg))
      translateY(-12px);
  }
}

@keyframes float-secondary {
  0% {
    transform:
      translate3d(calc(var(--scene-x) * 22px), calc(var(--scene-y) * -20px), 58px)
      rotateY(calc(var(--scene-x) * 8deg))
      rotateX(calc(var(--scene-y) * 4deg))
      translateY(0);
  }
  100% {
    transform:
      translate3d(calc(var(--scene-x) * 22px), calc(var(--scene-y) * -20px), 58px)
      rotateY(calc(var(--scene-x) * 8deg))
      rotateX(calc(var(--scene-y) * 4deg))
      translateY(14px);
  }
}

@keyframes float-accent {
  0% {
    transform:
      translate3d(calc(var(--scene-x) * 14px), calc(var(--scene-y) * 14px), 82px)
      rotateY(calc(var(--scene-x) * 9deg))
      rotateX(calc(var(--scene-y) * -5deg))
      translateY(0);
  }
  100% {
    transform:
      translate3d(calc(var(--scene-x) * 14px), calc(var(--scene-y) * 14px), 82px)
      rotateY(calc(var(--scene-x) * 9deg))
      rotateX(calc(var(--scene-y) * -5deg))
      translateY(-10px);
  }
}

@media (max-width: 1180px) {
  .hero-layout,
  .studio-layout,
  .materials-layout,
  .contact-layout,
  .project-layout {
    grid-template-columns: 1fr;
  }

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

  .project-panel {
    justify-self: start;
  }

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

  .detail-modal__dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 2rem);
  }

  .modal-stage {
    min-height: 28rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    width: calc(100vw - 1.25rem);
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 30px;
  }

  .site-nav,
  .header-actions {
    justify-content: center;
  }

  .slide {
    padding-top: 7.4rem;
  }

  .slide__inner {
    min-height: calc(100svh - 12rem);
  }

  .hero-copy,
  .section-intro,
  .materials-copy,
  .contact-copy,
  .project-copy {
    max-width: 100%;
  }

  .hero-scene {
    min-height: min(50vh, 30rem);
  }

  .hero-card--primary {
    inset: 12% 0 10% 12%;
  }

  .hero-card--secondary {
    inset: 0 54% 36% 0;
  }

  .hero-card--accent {
    inset: 58% 0 4% 56%;
  }

  .materials-visuals {
    min-height: min(50vh, 30rem);
  }
}

@media (max-width: 720px) {
  .site-header {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    padding: 0.18rem;
    border-radius: 12px;
    background: rgba(255, 250, 243, 0.96);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.84rem;
  }

  .site-nav {
    gap: 0.5rem 0.75rem;
  }

  .site-nav a {
    font-size: 0.76rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions > .button--primary {
    display: none;
  }

  .button {
    min-height: 42px;
    padding: 0.72rem 1rem;
    font-size: 0.84rem;
  }

  .button--mini {
    min-height: 40px;
    padding-inline: 0.82rem;
  }

  .header-tools .icon-button {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .slide {
    padding-top: 1rem;
    padding-bottom: 3.6rem;
  }

  .slide__inner {
    width: calc(100vw - 0.85rem);
    min-height: calc(100svh - 4.8rem);
  }

  .hero-copy,
  .section-intro,
  .materials-copy,
  .contact-copy,
  .project-copy {
    padding: 0.95rem;
    border-radius: 24px;
    backdrop-filter: none;
  }

  .slide-dots {
    inset-inline-start: 50%;
    inset-inline-end: auto;
    inset-block-start: auto;
    inset-block-end: 0.85rem;
    transform: translateX(-50%);
    grid-auto-flow: column;
    gap: 0.55rem;
  }

  .slide-dot__label {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.35rem);
  }

  .section-intro h2,
  .project-copy h2,
  .materials-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.7rem, 7.2vw, 2.4rem);
  }

  .lede,
  .section-intro p,
  .materials-copy p,
  .contact-copy p,
  .project-subtitle,
  .project-panel p {
    font-size: 0.88rem;
  }

  .hero-actions,
  .project-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slide--studio .slide__veil--studio {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.18), rgba(7, 7, 7, 0.68)),
      linear-gradient(90deg, rgba(7, 7, 7, 0.3) 0%, rgba(7, 7, 7, 0.08) 100%);
  }

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

  .hero-stats li {
    padding: 0.65rem 0.5rem;
    border-radius: 20px;
  }

  .hero-stats strong {
    font-size: 1.15rem;
  }

  .hero-stats span {
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .hero-scene {
    order: -1;
    display: grid;
    gap: 0.75rem;
    min-height: auto;
    perspective: none;
    transform-style: flat;
  }

  .hero-scene__halo,
  .hero-card--secondary,
  .hero-card--accent {
    display: none;
  }

  .hero-card {
    animation: none;
  }

  .hero-card--primary {
    position: relative;
    inset: auto;
    transform: none;
    height: clamp(16rem, 56vw, 20rem);
  }

  .hero-plaque {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0.95rem 1rem 1rem;
    transform: none;
  }

  .value-card,
  .material-card,
  .contact-card {
    min-height: auto;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .value-card,
  .material-card {
    padding: 0.75rem;
    border-radius: 22px;
  }

  .value-card strong,
  .material-card strong {
    font-size: 0.84rem;
  }

  .value-card p,
  .material-card p,
  .contact-card span {
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .materials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .materials-visuals {
    display: none;
  }

  .material-photo--primary {
    inset: 0 12% 28% 0;
  }

  .material-photo--secondary {
    inset: 34% 0 0 32%;
  }

  .contact-card--branches {
    grid-column: auto;
  }

  .contact-card {
    padding: 0.82rem;
    border-radius: 22px;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-links a {
    padding: 0.48rem 0.66rem;
    font-size: 0.74rem;
  }

  .scroll-hint {
    inset-block-end: 1rem;
  }

  .whatsapp-fab {
    inset-inline-end: 0.75rem;
    inset-block-end: 3.25rem;
    min-height: 46px;
    padding: 0.68rem 0.74rem;
  }

  .glass,
  .whatsapp-fab,
  .detail-modal__backdrop {
    backdrop-filter: none;
  }

  .detail-modal__dialog {
    width: calc(100% - 1rem);
    margin: 0.5rem auto;
    padding: 0.75rem;
    border-radius: 24px;
  }

  .modal-stage {
    min-height: 20rem;
  }

  .gallery-thumb {
    flex-basis: 72px;
    height: 72px;
  }

  .modal-copy {
    padding: 0.5rem 0.2rem 0.2rem;
  }

  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .brand {
    width: auto;
    justify-content: center;
    gap: 0.42rem;
  }

  .brand-copy strong {
    font-size: 0.76rem;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 0.4rem 0.6rem;
  }

  .site-nav a {
    font-size: 0.68rem;
  }

  .header-actions {
    width: auto;
  }

  .header-actions > .button:not(.icon-button) {
    width: 100%;
  }

  .header-actions .icon-button {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .slide {
    padding-top: 0.8rem;
    padding-bottom: 3.65rem;
  }

  .slide__inner {
    width: calc(100vw - 0.65rem);
    min-height: calc(100svh - 4.6rem);
  }

  .hero-copy,
  .section-intro,
  .materials-copy,
  .contact-copy,
  .project-copy {
    padding: 0.85rem;
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.55rem);
  }

  .lede,
  .section-intro p,
  .materials-copy p,
  .contact-copy p,
  .project-subtitle,
  .project-panel p {
    font-size: 0.82rem;
    line-height: 1.72;
  }

  .section-intro h2,
  .project-copy h2,
  .materials-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.45rem, 6.8vw, 2rem);
  }

  .hero-stats li {
    padding: 0.5rem 0.35rem;
  }

  .hero-stats strong {
    font-size: 1rem;
  }

  .hero-stats span {
    font-size: 0.58rem;
  }

  .hero-scene {
    min-height: auto;
    gap: 0.6rem;
  }

  .hero-card,
  .material-photo {
    border-radius: 24px;
  }

  .hero-card--primary {
    height: clamp(14rem, 62vw, 17rem);
  }

  .project-panel,
  .value-card,
  .material-card,
  .contact-card {
    border-radius: 20px;
  }

  .materials-grid,
  .contact-grid {
    gap: 0.5rem;
  }

  .contact-card {
    padding: 0.72rem;
  }

  .whatsapp-fab {
    inset-inline-end: 0.6rem;
    inset-block-end: 3rem;
    padding: 0.62rem 0.66rem;
    min-height: 42px;
  }

  .whatsapp-fab__icon {
    width: 30px;
    height: 30px;
  }

  .whatsapp-fab > span:last-child {
    display: none;
  }
}

@media (max-width: 960px) {
  .header-tools {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .header-actions {
    width: auto;
    justify-content: center;
  }

  .header-tools {
    width: auto;
    justify-content: center;
  }

  .header-tools .icon-button {
    flex: 0 0 auto;
  }
}

@media (max-width: 720px) {
  html[data-theme="light"] .site-header {
    background: rgba(255, 251, 245, 0.94);
  }
}

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