:root {
  --bg: #f7f3ed;
  --paper: #fffdf9;
  --paper-2: #eee7dd;
  --ink: #3b160e;
  --muted: #6e544c;
  --line: rgba(37, 25, 20, .15);
  --brown: #7b2f1d;
  --brown-2: #9a5138;
  --brown-dark: #3b160e;
  --gold: #e7a92f;
  --gold-soft: #f6d78f;
  --white: #fff;
  --shadow: 0 28px 80px rgba(53, 31, 21, .12);
  --radius: 28px;
  --ease: cubic-bezier(.22, .78, .2, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: auto
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Vazirmatn", system-ui, sans-serif;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

body.menu-open {
  overflow: hidden
}

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

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

button,
input,
textarea {
  font: inherit
}

button {
  color: inherit
}

::selection {
  background: var(--gold);
  color: var(--brown-dark)
}

main {
  position: relative;
  overflow: clip
}

.flash-wrap {
  position: fixed;
  top: 98px;
  left: 0;
  right: 0;
  z-index: 1200;
  pointer-events: none
}

.flash-wrap .alert {
  pointer-events: auto;
  max-width: 720px;
  margin: auto
}

/* loader + cursor */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .7s var(--ease), visibility .7s var(--ease)
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden
}

.loader-inner {
  text-align: center;
  width: min(340px, 72vw)
}

.loader-inner img {
  width: 118px;
  margin: 0 auto 18px
}

.loader-word {
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  font-weight: 900;
  letter-spacing: .08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(123, 47, 29, .22);
  line-height: 1
}

.loader-line {
  height: 2px;
  margin-top: 24px;
  background: rgba(123, 47, 29, .1);
  overflow: hidden
}

.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brown), var(--gold));
  animation: loader 1.25s var(--ease) infinite
}

@keyframes loader {
  0% {
    transform: translateX(110%)
  }

  55% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-110%)
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--brown))
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--brown)
}

.cursor-ring {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(123, 47, 29, .45);
  display: grid;
  place-items: center;
  transition: width .25s, height .25s, background .25s, border-color .25s
}

.cursor-ring span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity .25s
}

.cursor-ring.active {
  width: 68px;
  height: 68px;
  background: rgba(231, 169, 47, .11);
  border-color: var(--gold)
}

.cursor-ring.active span {
  opacity: 1
}

/* header / fullscreen menu */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1040;
  height: 86px;
  transition: transform .4s var(--ease), background .4s, box-shadow .4s, border .4s;
  background: rgba(247, 243, 237, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent
}

.home-page .site-header:not(.scrolled) {
  background: transparent;
  color: #fff;
  backdrop-filter: none
}

.site-header.scrolled {
  background: rgba(247, 243, 237, .93);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 36px rgba(48, 30, 20, .06);
  color: var(--ink)
}

.header-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand-logo {
  width: 70px;
  height: 58px;
  display: grid;
  place-items: center
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(36, 13, 7, .12))
}

.brand-text {
  flex-direction: column;
  line-height: 1.25
}

.brand-text strong {
  font-size: .98rem;
  font-weight: 900
}

.brand-text small {
  font-size: .61rem;
  letter-spacing: .16em;
  opacity: .65;
  margin-top: 4px;
  direction: ltr
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px
}

.header-contact {
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  font-size: .88rem
}

.header-contact i {
  font-size: 1rem;
  transition: transform .3s
}

.header-contact:hover i {
  transform: translate(-3px, -3px)
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  padding: 8px 0 8px 8px
}

.menu-word {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .17em
}

.menu-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-content: center;
  gap: 6px;
  transition: background .3s, color .3s, transform .3s
}

.menu-icon i {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .3s
}

.menu-trigger:hover .menu-icon {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  transform: rotate(8deg)
}

.home-page .site-header:not(.scrolled) .menu-trigger:hover .menu-icon {
  background: #fff;
  border-color: #fff;
  color: var(--brown)
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  overflow: hidden
}

.menu-overlay::after {
  content: "REFAH";
  position: absolute;
  left: -2vw;
  bottom: -9vw;
  font-size: clamp(8rem, 25vw, 28rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(123, 47, 29, .07);
  pointer-events: none;
  direction: ltr
}

.menu-orbit {
  position: absolute;
  width: min(50vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(123, 47, 29, .12);
  border-radius: 50%;
  left: -9vw;
  top: -18vw
}

.menu-orbit::before,
.menu-orbit::after {
  content: "";
  position: absolute;
  border: inherit;
  border-radius: inherit
}

.menu-orbit::before {
  inset: 10%
}

.menu-orbit::after {
  inset: 26%
}

.menu-overlay-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column
}

.menu-top {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line)
}

.menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900
}

.menu-brand img {
  width: 58px;
  height: 52px;
  object-fit: contain
}

.menu-close {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800
}

.menu-close i {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center
}

.menu-main {
  flex: 1;
  padding: 7vh 0 5vh
}

.overlay-nav {
  display: flex;
  flex-direction: column
}

.overlay-link {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr 60px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  min-height: 112px;
  overflow: hidden
}

.overlay-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brown);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease)
}

.overlay-link>* {
  position: relative;
  z-index: 1
}

.overlay-link .nav-no {
  font-size: .72rem;
  color: var(--muted)
}

.overlay-link .nav-text {
  font-size: clamp(2.2rem, 5vw, 5.3rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.045em
}

.overlay-link>i {
  justify-self: end;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .35s
}

.overlay-link:hover::before,
.overlay-link.active::before {
  transform: scaleY(1)
}

.overlay-link:hover,
.overlay-link.active {
  color: #fff
}

.overlay-link:hover .nav-no,
.overlay-link.active .nav-no {
  color: rgba(255, 255, 255, .6)
}

.overlay-link:hover>i {
  transform: rotate(-45deg);
  border-color: rgba(255, 255, 255, .45)
}

.menu-contact-card {
  border-right: 1px solid var(--line);
  padding-right: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px
}

.menu-contact-card>a {
  font-size: 1.1rem;
  font-weight: 800
}

.menu-contact-card p {
  color: var(--muted);
  max-width: 280px
}

.menu-socials {
  display: flex;
  gap: 8px;
  margin-top: 10px
}

.menu-socials a,
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: .3s
}

.menu-socials a:hover,
.footer-socials a:hover {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
  transform: translateY(-4px)
}

.menu-bottom {
  min-height: 70px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .08em
}

/* shared */
.section-space {
  padding: 130px 0
}

.section-space-sm {
  padding: 85px 0
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  color: var(--brown);
  text-transform: uppercase;
  margin-bottom: 18px
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor
}

.eyebrow.light {
  color: var(--gold-soft)
}

.display-title {
  font-size: clamp(3rem, 6.8vw, 7.5rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.055em;
  margin: 0
}

.display-title.small {
  font-size: clamp(2.45rem, 5vw, 5.4rem)
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px
}

.section-head>p {
  max-width: 420px;
  color: var(--muted);
  margin: 0
}

.section-head.compact {
  margin-bottom: 48px
}

.outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 800;
  white-space: nowrap;
  transition: .35s var(--ease)
}

.outline-pill:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  transform: translateY(-3px)
}

.outline-pill i {
  transition: transform .3s
}

.outline-pill:hover i {
  transform: translate(-3px, -3px)
}

.arrow-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-weight: 850;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px
}

.arrow-link i {
  transition: .3s
}

.arrow-link:hover i {
  transform: translate(-4px, -4px)
}

.reveal-line {
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em
}

.word-inner {
  display: inline-block
}

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

.image-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none
}

/* hero */
.hero-section {
  position: relative;
  min-height: 100svh;
  background: #20130e;
  color: #fff;
  overflow: hidden
}

.hero-frame {
  position: absolute;
  inset: 18px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, .28);
  pointer-events: none
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-slide {
  min-height: 100svh
}

.hero-slide {
  position: relative;
  overflow: hidden
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 10, 7, .18), rgba(19, 10, 7, .55) 58%, rgba(19, 10, 7, .82)), linear-gradient(0deg, rgba(14, 8, 5, .55), transparent 45%)
}

.hero-container {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 150px;
  padding-bottom: 145px
}

.hero-copy {
  width: min(920px, 75vw);
  margin-inline-start: auto
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, .75)
}

.hero-kicker i {
  width: 45px;
  height: 1px;
  background: rgba(255, 255, 255, .55)
}

.hero-kicker span {
  color: var(--gold-soft)
}

.hero-title {
  font-size: clamp(4rem, 9vw, 10.3rem);
  font-weight: 850;
  line-height: .94;
  letter-spacing: -.06em;
  margin: 0 0 24px;
  max-width: 1000px
}

.hero-subtitle {
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, .72);
  margin-bottom: 36px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px
}

.circle-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 190px;
  height: 66px;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 850
}

.circle-link i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  display: grid;
  place-items: center;
  transition: transform .3s
}

.circle-link:hover i {
  transform: rotate(-45deg)
}

.circle-link.light {
  background: #fff;
  color: var(--brown-dark)
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 7px;
  font-weight: 700
}

.hero-side-meta {
  position: absolute;
  left: 5vw;
  bottom: 155px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: left;
  direction: ltr
}

.hero-side-meta>span {
  font-size: .65rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .58);
  max-width: 210px
}

.hero-side-meta strong {
  font-size: clamp(1rem, 1.8vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: .1em
}

.hero-bottom {
  position: absolute;
  z-index: 7;
  bottom: 44px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 22px
}

.hero-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  gap: 7px
}

.hero-pagination .swiper-pagination-bullet {
  width: 34px;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, .38);
  opacity: 1;
  margin: 0 !important;
  transition: width .3s, background .3s
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 70px;
  background: var(--gold)
}

.hero-nav {
  display: flex;
  gap: 8px
}

.hero-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  transition: .3s
}

.hero-nav button:hover {
  background: #fff;
  color: var(--brown-dark)
}

.scroll-hint {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  color: rgba(255, 255, 255, .72)
}

.scroll-hint i {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 2px;
  height: 7px;
  background: #fff;
  border-radius: 3px;
  animation: scrollCue 1.6s infinite
}

@keyframes scrollCue {
  0% {
    transform: translate(-50%, 0);
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    transform: translate(-50%, 14px);
    opacity: 0
  }
}

/* intro */
.intro-statement {
  background: var(--paper)
}

.intro-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .75rem;
  margin-bottom: 65px
}

.statement-title {
  font-size: clamp(2.8rem, 5.7vw, 6.6rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.045em;
  margin: 0
}

.statement-note {
  color: var(--muted);
  margin-bottom: 30px
}

/* editorial projects */
.projects-editorial {
  background: var(--paper)
}

.project-list {
  border-top: 1px solid var(--line)
}

.project-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
  align-items: stretch
}

.project-showcase-row:nth-child(even) {
  grid-template-columns: minmax(330px, .75fr) minmax(0, 1.25fr)
}

.project-showcase-row:nth-child(even) .project-showcase-media {
  order: 2
}

.project-showcase-row:nth-child(even) .project-showcase-copy {
  order: 1;
  padding: 20px 0 20px 48px
}

.project-showcase-media {
  position: relative;
  min-height: 520px;
  border-radius: 2px;
  overflow: hidden
}

.project-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
  will-change: transform
}

.project-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 12, 8, .25), transparent 40%)
}

.project-hover-circle {
  position: absolute;
  z-index: 3;
  left: 26px;
  bottom: 26px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--brown);
  font-size: 1.2rem;
  transform: scale(.85);
  opacity: 0;
  transition: .4s var(--ease)
}

.project-showcase-media:hover img {
  transform: scale(1.05)
}

.project-showcase-media:hover .project-hover-circle {
  opacity: 1;
  transform: scale(1) rotate(-45deg)
}

.project-showcase-copy {
  padding: 20px 48px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.project-topline {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  color: var(--muted);
  font-size: .72rem
}

.project-showcase-copy h3 {
  font-size: clamp(2.4rem, 4.6vw, 5.5rem);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -.05em;
  margin: 28px 0 18px
}

.project-showcase-copy h3 a {
  background-image: linear-gradient(var(--brown), var(--brown));
  background-size: 0 2px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--ease)
}

.project-showcase-copy h3 a:hover {
  background-size: 100% 2px
}

.project-showcase-copy p {
  color: var(--muted);
  max-width: 620px
}

.project-facts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 35px
}

.project-facts span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .72rem;
  color: var(--muted)
}

/* numbers */
.numbers-section {
  background: var(--brown-dark);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden
}

.numbers-section::before {
  content: "REFAH";
  position: absolute;
  left: -1vw;
  top: -5vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  font-size: clamp(10rem, 28vw, 32rem);
  font-weight: 900;
  line-height: 1;
  direction: ltr
}

.numbers-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  padding-bottom: 22px;
  margin-bottom: 35px
}

.numbers-caption p {
  color: rgba(255, 255, 255, .55);
  margin: 0
}

.numbers-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.number-cell {
  position: relative;
  padding: 42px 32px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end
}

.number-cell:last-child {
  border-left: 0
}

.number-index {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: .68rem;
  color: rgba(255, 255, 255, .45)
}

.number-cell strong {
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 780;
  line-height: .9;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums
}

.number-cell small {
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  margin-top: 18px
}

/* focus */
.focus-section {
  background: var(--bg)
}

.focus-sticky {
  position: sticky;
  top: 130px
}

.focus-sticky p {
  color: var(--muted);
  max-width: 360px;
  margin-top: 25px
}

.focus-list {
  border-top: 1px solid var(--line)
}

.focus-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px 72px 1fr 54px;
  align-items: center;
  gap: 20px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .35s, background .35s
}

.focus-item::before {
  content: "";
  position: absolute;
  inset: 0 -22px;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--ease);
  z-index: -1
}

.focus-item:hover::before {
  transform: scaleY(1)
}

.focus-item:hover {
  padding-right: 18px;
  padding-left: 18px
}

.focus-no {
  font-size: .72rem;
  color: var(--muted)
}

.focus-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--brown);
  transition: .35s
}

.focus-item:hover .focus-icon {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
  transform: rotate(-8deg)
}

.focus-copy h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 7px
}

.focus-copy p {
  margin: 0;
  color: var(--muted)
}

.focus-arrow {
  font-size: 1.25rem;
  justify-self: end;
  transition: .35s
}

.focus-item:hover .focus-arrow {
  transform: translate(-6px, -6px)
}

/* moving gallery */
.moving-gallery {
  background: var(--paper);
  overflow: hidden
}

.gallery-note {
  color: var(--muted);
  font-size: .78rem
}

.marquee-shell {
  direction: ltr;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.marquee-row {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent)
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeLeft var(--marquee-duration, 52s) linear infinite;
  will-change: transform
}

.marquee-reverse .marquee-track {
  animation-name: marqueeRight;
  animation-duration: var(--marquee-duration-reverse, 58s)
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused
}

.marquee-card {
  position: relative;
  width: clamp(260px, 28vw, 440px);
  height: 260px;
  overflow: hidden;
  background: var(--paper-2)
}

.marquee-card.marquee-tall {
  width: clamp(220px, 24vw, 360px)
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s
}

.marquee-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 12, 8, .48), transparent 48%);
  opacity: .75
}

.marquee-card span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 15px;
  color: #fff;
  font-size: .8rem;
  direction: rtl
}

.marquee-card:hover img {
  transform: scale(1.06)
}

@keyframes marqueeLeft {
  to {
    transform: translateX(-33.333%)
  }
}

@keyframes marqueeRight {
  from {
    transform: translateX(-33.333%)
  }

  to {
    transform: translateX(0)
  }
}

/* video */
.home-video-section {
  background: var(--paper)
}

.video-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 55px
}

.cinematic-video,
.project-video-stage {
  position: relative;
  width: 100%;
  height: min(78vh, 840px);
  min-height: 520px;
  background: #1a110e;
  overflow: hidden
}

.cinematic-video video,
.project-video-stage video,
.project-video-stage iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0
}

.cinematic-video .home-video:empty {
  display: block
}

.cinematic-video .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 10, 7, .5), transparent 50%), linear-gradient(90deg, rgba(17, 10, 7, .18), transparent 50%);
  pointer-events: none
}

.video-caption {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column
}

.video-caption span {
  font-size: .65rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .6)
}

.video-caption strong {
  font-size: 1.2rem
}

.video-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .4s var(--ease)
}

.video-play i {
  font-size: 2rem
}

.video-play span {
  font-size: .7rem
}

.video-play:hover {
  background: #fff;
  color: var(--brown-dark);
  transform: translate(-50%, -50%) scale(1.06)
}

.cinematic-video.is-playing .video-play {
  opacity: 0;
  pointer-events: none
}

.cinematic-video:hover.is-playing .video-play {
  opacity: 1;
  pointer-events: auto;
  width: 92px;
  height: 92px
}

.video-placeholder-note {
  position: absolute;
  z-index: 2;
  left: 32px;
  top: 30px;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .7rem
}

.video-progress {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .22);
  z-index: 4
}

.video-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold)
}

.youtube-video-shell {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0e0908;
  overflow: hidden;
  display: block
}

.youtube-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
  display: block;
  z-index: 1
}

.youtube-video-shell.is-active .youtube-thumb {
  opacity: 0;
  transition: opacity .25s ease
}

.youtube-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
  z-index: 2
}

.youtube-video-shell.is-active .youtube-frame {
  display: block
}

.youtube-video-shell .video-play {
  z-index: 4;
  cursor: pointer
}

.youtube-video-shell.is-active .video-play {
  display: none
}

.youtube-play {
  background: rgba(15, 9, 7, .45)
}

.cinematic-video.is-youtube-playing .video-overlay,
.cinematic-video.is-youtube-playing .video-caption,
.cinematic-video.is-youtube-playing .video-progress {
  display: none
}

/* why */
.why-section {
  background: var(--bg)
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.why-card {
  position: relative;
  min-height: 380px;
  padding: 28px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: color .45s
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brown);
  transform: translateY(102%);
  transition: transform .45s var(--ease)
}

.why-card>* {
  position: relative;
  z-index: 1
}

.why-card:hover {
  color: #fff
}

.why-card:hover::before {
  transform: translateY(0)
}

.why-no {
  font-size: .68rem;
  color: var(--muted);
  transition: color .3s
}

.why-icon {
  display: block;
  font-size: 2.2rem;
  color: var(--brown);
  margin: 60px 0 32px;
  transition: color .3s, transform .4s
}

.why-card h3 {
  font-size: 1.55rem;
  font-weight: 850
}

.why-card p {
  color: var(--muted);
  transition: color .3s
}

.why-line {
  position: absolute;
  bottom: 28px;
  right: 28px;
  left: 28px;
  height: 1px;
  background: var(--line)
}

.why-card:hover .why-no,
.why-card:hover p {
  color: rgba(255, 255, 255, .7)
}

.why-card:hover .why-icon {
  color: var(--gold-soft);
  transform: rotate(-8deg) scale(1.08)
}

.why-card:hover .why-line {
  background: rgba(255, 255, 255, .25)
}

/* testimonials */
.testimonials-section {
  background: var(--paper)
}

.testimonial-nav {
  display: flex;
  justify-content: flex-start;
  gap: 8px
}

.testimonial-nav button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  transition: .3s
}

.testimonial-nav button:hover {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown)
}

.testimonials-swiper {
  overflow: visible
}

.testimonial-card {
  min-height: 390px;
  border: 1px solid var(--line);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: background .35s, transform .35s
}

.testimonial-card:hover {
  background: var(--bg);
  transform: translateY(-8px)
}

.quote-mark {
  font-size: 3rem;
  color: var(--gold)
}

.testimonial-card>p {
  font-size: 1.18rem;
  line-height: 2.05;
  margin: 25px 0 35px
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto
}

.testimonial-person img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover
}

.testimonial-person div {
  display: flex;
  flex-direction: column
}

.testimonial-person strong {
  font-weight: 850
}

.testimonial-person span {
  font-size: .75rem;
  color: var(--muted)
}

/* home contact */
.home-contact {
  background: var(--bg)
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 720px
}

.home-map {
  position: relative;
  min-height: 720px;
  background: var(--paper-2)
}

.home-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.map-label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 340px;
  background: var(--paper);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column
}

.map-label span {
  font-size: .7rem;
  color: var(--brown);
  font-weight: 850
}

.map-label strong {
  font-size: .92rem
}

.home-contact-panel {
  background: var(--brown);
  color: #fff;
  padding: clamp(40px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.home-contact-panel>p {
  color: rgba(255, 255, 255, .65);
  max-width: 500px;
  margin: 25px 0 35px
}

.minimal-form,
.contact-form-v3 {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.minimal-form label,
.contact-form-v3 label {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.minimal-form label>span,
.contact-form-v3 label>span {
  font-size: .72rem;
  color: rgba(255, 255, 255, .65)
}

.minimal-form input,
.minimal-form textarea,
.contact-form-v3 input,
.contact-form-v3 textarea {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  outline: 0;
  padding: 9px 0;
  resize: vertical;
  transition: border-color .3s
}

.minimal-form input:focus,
.minimal-form textarea:focus,
.contact-form-v3 input:focus,
.contact-form-v3 textarea:focus {
  border-color: var(--gold-soft)
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.form-submit {
  align-self: flex-start;
  margin-top: 12px;
  border: 0;
  background: var(--gold);
  color: var(--brown-dark);
  min-width: 190px;
  height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 21px;
  font-weight: 850
}

.form-submit i {
  transition: .3s
}

.form-submit:hover i {
  transform: translate(-4px, -4px)
}

.form-submit.light {
  background: #fff
}

/* inner heroes */
.internal-page main {
  padding-top: 86px
}

.inner-hero {
  position: relative;
  min-height: 620px;
  padding: 90px 0 70px;
  background: var(--paper);
  display: flex;
  align-items: flex-end;
  overflow: hidden
}

.inner-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(123, 47, 29, .1);
  border-radius: 50%;
  left: -100px;
  top: -140px
}

.inner-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(123, 47, 29, .08);
  border-radius: 50%;
  left: -20px;
  top: -60px
}

.inner-hero-top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 55px;
  font-size: .74rem;
  color: var(--muted)
}

.inner-hero-top a:hover {
  color: var(--brown)
}

.inner-hero .row {
  position: relative;
  z-index: 2
}

.inner-hero p {
  color: var(--muted);
  max-width: 480px
}

.inner-title {
  font-size: clamp(4rem, 8.5vw, 10rem);
  font-weight: 820;
  line-height: .95;
  letter-spacing: -.065em;
  margin: 0
}

.inner-hero-number {
  position: absolute;
  left: 3vw;
  bottom: -.14em;
  font-size: clamp(9rem, 24vw, 26rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(123, 47, 29, .07)
}

/* about */
.story-section {
  background: var(--bg)
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(45px, 7vw, 110px);
  align-items: center
}

.story-media {
  height: 760px;
  position: relative
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.story-year {
  position: absolute;
  left: -30px;
  bottom: 50px;
  background: var(--brown);
  color: #fff;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.story-year small {
  font-size: .7rem;
  color: rgba(255, 255, 255, .65)
}

.story-year strong {
  font-size: 3.1rem;
  color: var(--gold-soft)
}

.story-copy>p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 2.2
}

.story-signature {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--muted);
  direction: ltr
}

.story-signature em,
.project-story-sign em {
  color: var(--gold);
  font-style: normal
}

.about-numbers {
  margin-top: 0
}

.team-section {
  background: var(--paper)
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.team-card-v3 {
  border-top: 1px solid var(--line);
  padding-top: 18px
}

.team-image {
  height: 500px;
  position: relative;
  background: var(--paper-2)
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86);
  transition: filter .4s, transform .7s var(--ease)
}

.team-image span {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--paper);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .67rem
}

.team-card-v3:hover .team-image img {
  filter: saturate(1);
  transform: scale(1.035)
}

.team-copy {
  padding: 24px 4px
}

.team-copy small {
  color: var(--brown);
  font-weight: 800
}

.team-copy h3 {
  font-size: 1.65rem;
  font-weight: 850;
  margin: 4px 0 10px
}

.team-copy p {
  color: var(--muted);
  margin: 0
}

.faq-section {
  background: var(--paper)
}

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(45px, 8vw, 130px);
  align-items: start
}

.faq-intro {
  position: sticky;
  top: 125px
}

.faq-intro>p {
  color: var(--muted);
  margin: 25px 0
}

.faq-list {
  border-top: 1px solid var(--line)
}

.faq-item {
  border-bottom: 1px solid var(--line)
}

.faq-item>button {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 45px 1fr 44px;
  align-items: center;
  text-align: right;
  padding: 26px 0;
  gap: 12px
}

.faq-item>button>span {
  font-size: .7rem;
  color: var(--muted)
}

.faq-item>button>strong {
  font-size: 1.12rem
}

.faq-item>button>i {
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .3s, background .3s, color .3s
}

.faq-item>button[aria-expanded="true"]>i {
  transform: rotate(45deg);
  background: var(--brown);
  color: #fff;
  border-color: var(--brown)
}

.faq-answer {
  padding: 0 57px 28px 45px;
  color: var(--muted);
  line-height: 2.1
}

/* project archive */
.project-archive {
  background: var(--bg)
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px
}

.archive-toolbar>span {
  font-size: .75rem;
  color: var(--muted)
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .75rem;
  font-weight: 800;
  transition: .3s
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown)
}

.archive-list {
  display: flex;
  flex-direction: column
}

.archive-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding: 55px 0;
  border-bottom: 1px solid var(--line)
}

.archive-project:nth-child(even) .archive-image {
  order: 2
}

.archive-project:nth-child(even) .archive-copy {
  order: 1
}

.archive-image {
  position: relative;
  height: 520px;
  overflow: hidden
}

.archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease)
}

.archive-view {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.8);
  transition: .4s
}

.archive-image:hover img {
  transform: scale(1.05)
}

.archive-image:hover .archive-view {
  opacity: 1;
  transform: scale(1) rotate(-45deg)
}

.archive-copy {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-content: center
}

.archive-no {
  font-size: .75rem;
  color: var(--muted);
  padding-top: 5px
}

.archive-title>span {
  font-size: .72rem;
  color: var(--brown);
  font-weight: 850
}

.archive-title h2 {
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  margin: 15px 0 18px
}

.archive-title p {
  color: var(--muted);
  max-width: 620px
}

.archive-meta {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 18px
}

.archive-meta span {
  display: flex;
  flex-direction: column;
  font-weight: 700
}

.archive-meta small {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 500
}

.project-item.is-hidden {
  display: none !important
}

/* project detail */
.project-detail-page main {
  padding-top: 0
}

.project-detail-page .site-header:not(.scrolled) {
  background: transparent;
  color: #fff;
  backdrop-filter: none
}

.project-detail-hero-v3 {
  position: relative;
  min-height: 100svh;
  color: #fff;
  overflow: hidden
}

.project-detail-bg {
  position: absolute;
  inset: 0
}

.project-detail-bg img {
  width: 100%;
  height: 115%;
  object-fit: cover
}

.project-detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 10, 7, .2), rgba(19, 10, 7, .68)), linear-gradient(0deg, rgba(15, 8, 5, .72), transparent 55%)
}

.project-detail-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: 130px;
  padding-bottom: 45px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end
}

.project-back {
  position: absolute;
  top: 125px;
  right: 3rem;
  left: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: rgba(255, 255, 255, .68)
}

.project-back a {
  display: flex;
  gap: 8px
}

.project-detail-title {
  font-size: clamp(4.4rem, 10vw, 11rem);
  font-weight: 820;
  line-height: .92;
  letter-spacing: -.065em;
  margin: 0
}

.project-detail-inner .row p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 28px
}

.project-hero-facts {
  margin-top: 55px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.project-hero-facts>span {
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  flex-direction: column;
  font-weight: 750
}

.project-hero-facts>span:last-child {
  border-left: 0
}

.project-hero-facts small {
  font-size: .64rem;
  color: rgba(255, 255, 255, .5);
  font-weight: 500
}

.project-story {
  background: var(--paper)
}

.project-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px
}

.project-story-text>p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 2.2
}

.project-story-sign {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 35px;
  direction: ltr;
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--muted)
}

.features-section {
  background: var(--paper)
}

.feature-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.feature-tile {
  position: relative;
  min-height: 430px;
  background: var(--paper-2);
  overflow: hidden
}

.feature-tile.feature-wide {
  grid-column: span 2
}

.feature-tile-media {
  position: absolute;
  inset: 0
}

.feature-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease)
}

.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 10, 7, .72), transparent 55%)
}

.feature-tile-copy {
  position: absolute;
  z-index: 2;
  right: 22px;
  left: 22px;
  bottom: 20px;
  color: #fff;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center
}

.feature-tile-copy span {
  font-size: .65rem;
  color: rgba(255, 255, 255, .6)
}

.feature-tile-copy h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800
}

.feature-tile-copy i {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: .35s
}

.feature-tile:hover img {
  transform: scale(1.06)
}

.feature-tile:hover .feature-tile-copy i {
  transform: rotate(45deg);
  background: #fff;
  color: var(--brown-dark)
}

.project-video {
  background: var(--bg)
}

.project-video-stage {
  height: min(80vh, 850px)
}

.project-location {
  background: var(--paper)
}

.location-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  min-height: 620px;
  align-items: stretch
}

.location-copy {
  padding: 60px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.location-copy p {
  color: var(--muted);
  margin: 25px 0
}

.location-copy .outline-pill {
  align-self: flex-start
}

.location-map {
  position: relative;
  min-height: 620px
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.project-gallery-section {
  background: var(--paper)
}

.project-gallery-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 16px
}

.project-gallery-item {
  position: relative;
  overflow: hidden
}

.project-gallery-item.gallery-large {
  grid-column: span 2;
  grid-row: span 2
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease)
}

.project-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 12, 8, .48), transparent 48%);
  opacity: .5;
  transition: opacity .3s
}

.project-gallery-item span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  color: #fff;
  font-size: .75rem
}

.project-gallery-item:hover img {
  transform: scale(1.05)
}

.project-gallery-item:hover::after {
  opacity: .8
}

/* contact */
.contact-details {
  background: var(--paper)
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.contact-strip-item {
  position: relative;
  min-height: 230px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: .35s;
  overflow: hidden
}

.contact-strip-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brown);
  transform: translateY(102%);
  transition: transform .4s var(--ease)
}

.contact-strip-item>* {
  position: relative;
  z-index: 1
}

.contact-strip-item>span {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: .66rem;
  color: var(--muted)
}

.contact-strip-item>i {
  font-size: 1.7rem;
  color: var(--brown);
  margin-bottom: 28px
}

.contact-strip-item small {
  color: var(--muted)
}

.contact-strip-item strong {
  font-size: 1rem
}

.contact-strip-item:hover {
  color: #fff
}

.contact-strip-item:hover::before {
  transform: translateY(0)
}

.contact-strip-item:hover>span,
.contact-strip-item:hover small {
  color: rgba(255, 255, 255, .65)
}

.contact-strip-item:hover>i {
  color: var(--gold-soft)
}

.contact-main {
  background: var(--paper)
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch
}

.contact-address-panel {
  background: var(--bg);
  padding: clamp(35px, 5vw, 75px);
  display: flex;
  flex-direction: column
}

.address-block {
  border-top: 1px solid var(--line);
  padding: 20px 0
}

.address-block span {
  font-size: .7rem;
  color: var(--brown);
  font-weight: 850
}

.address-block p {
  margin: 5px 0 0;
  color: var(--muted)
}

.contact-map {
  position: relative;
  height: 390px;
  min-height: 390px;
  margin-top: 24px;
  overflow: hidden
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

.contact-form-panel {
  background: var(--brown);
  color: #fff;
  padding: clamp(45px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.contact-form-panel>p {
  color: rgba(255, 255, 255, .6);
  margin: 22px 0 32px
}

/* footer */
.footer-contact-band {
  background: var(--paper);
  padding: 0 0 55px
}

.footer-contact-link {
  min-height: 150px;
  background: var(--gold);
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(25px, 4vw, 60px);
  transition: transform .35s var(--ease), box-shadow .35s
}

.footer-contact-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.footer-contact-link>span {
  display: flex;
  flex-direction: column
}

.footer-contact-link small {
  font-size: .72rem;
  font-weight: 850
}

.footer-contact-link strong {
  font-size: clamp(1.5rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2
}

.footer-contact-link>i {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(59, 22, 14, .25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition: .35s
}

.footer-contact-link:hover>i {
  transform: rotate(-45deg);
  background: var(--brown-dark);
  color: #fff
}

.site-footer {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  padding-top: 65px
}

.footer-word {
  position: absolute;
  left: -1vw;
  top: 30px;
  font-size: clamp(9rem, 27vw, 30rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(123, 47, 29, .055);
  direction: ltr;
  pointer-events: none
}

.footer-top {
  position: relative;
  z-index: 2;
  padding: 100px 0 70px;
  border-top: 1px solid var(--line)
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 17px
}

.footer-brand img {
  width: 90px;
  height: 76px;
  object-fit: contain
}

.footer-brand>div {
  display: flex;
  flex-direction: column
}

.footer-brand strong {
  font-size: 1.25rem;
  font-weight: 900
}

.footer-brand span {
  font-size: .75rem;
  color: var(--muted)
}

.footer-summary {
  max-width: 470px;
  color: var(--muted);
  margin-top: 25px
}

.footer-label {
  display: block;
  font-size: .7rem;
  color: var(--brown);
  font-weight: 900;
  margin-bottom: 18px
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-links a {
  color: var(--muted);
  transition: .3s
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-contact-list p {
  color: var(--muted)
}

.footer-socials {
  display: flex;
  gap: 7px;
  margin-top: 15px
}

.footer-bottom {
  position: relative;
  z-index: 2;
  min-height: 72px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .72rem
}

.floating-whatsapp {
  position: fixed;
  z-index: 990;
  left: 24px;
  bottom: 24px;
  height: 52px;
  border-radius: 999px;
  background: #1fa463;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  box-shadow: 0 12px 30px rgba(20, 120, 70, .25);
  font-weight: 750;
  font-size: .75rem
}

.back-to-top {
  position: fixed;
  z-index: 980;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .3s
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

/* responsive */
@media(max-width:1199.98px) {
  .hero-side-meta {
    display: none
  }

  .project-showcase-media,
  .archive-image {
    min-height: 460px;
    height: 460px
  }

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

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

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

  .feature-mosaic {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:991.98px) {
  .section-space {
    padding: 95px 0
  }

  .section-space-sm {
    padding: 65px 0
  }

  .site-header {
    height: 76px
  }

  .internal-page main {
    padding-top: 76px
  }

  .brand-logo {
    width: 60px;
    height: 50px
  }

  .menu-main {
    padding: 3vh 0
  }

  .overlay-link {
    min-height: 90px;
    grid-template-columns: 45px 1fr 45px
  }

  .menu-contact-card {
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 25px 0 0
  }

  .menu-bottom {
    display: none
  }

  .hero-frame {
    inset: 10px
  }

  .hero-copy {
    width: 100%
  }

  .hero-container {
    padding-top: 130px;
    padding-bottom: 135px
  }

  .hero-title {
    font-size: clamp(3.7rem, 12vw, 7rem)
  }

  .hero-bottom {
    bottom: 30px
  }

  .project-showcase-row,
  .project-showcase-row:nth-child(even) {
    grid-template-columns: 1fr
  }

  .project-showcase-row:nth-child(even) .project-showcase-media,
  .project-showcase-row:nth-child(even) .project-showcase-copy {
    order: initial
  }

  .project-showcase-copy,
  .project-showcase-row:nth-child(even) .project-showcase-copy {
    padding: 30px 0 10px
  }

  .project-showcase-media {
    min-height: 440px
  }

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

  .number-cell:nth-child(2) {
    border-left: 0
  }

  .number-cell {
    border-bottom: 1px solid rgba(255, 255, 255, .14)
  }

  .focus-sticky,
  .faq-intro {
    position: static
  }

  .home-contact-grid,
  .story-grid,
  .faq-grid,
  .contact-main-grid,
  .project-story-grid,
  .location-grid {
    grid-template-columns: 1fr
  }

  .home-map {
    min-height: 500px
  }

  .home-contact-grid {
    min-height: 0
  }

  .story-media {
    height: 620px
  }

  .story-year {
    left: 25px
  }

  .archive-project,
  .archive-project:nth-child(even) {
    grid-template-columns: 1fr
  }

  .archive-project:nth-child(even) .archive-image,
  .archive-project:nth-child(even) .archive-copy {
    order: initial
  }

  .archive-copy {
    grid-template-columns: 45px 1fr
  }

  .project-hero-facts {
    grid-template-columns: repeat(2, 1fr)
  }

  .project-hero-facts>span:nth-child(2) {
    border-left: 0
  }

  .location-map {
    min-height: 500px
  }

  .contact-main-grid {
    gap: 0
  }
}

@media(max-width:767.98px) {
  body {
    line-height: 1.8
  }

  .cursor-dot,
  .cursor-ring {
    display: none
  }

  .header-shell {
    padding-left: 16px !important;
    padding-right: 16px !important
  }

  .menu-word {
    display: none
  }

  .menu-icon {
    width: 42px;
    height: 42px
  }

  .site-header {
    height: 70px
  }

  .internal-page main {
    padding-top: 70px
  }

  .brand-logo {
    width: 56px;
    height: 45px
  }

  .menu-top {
    height: 75px
  }

  .menu-overlay-inner {
    padding-left: 18px !important;
    padding-right: 18px !important
  }

  .menu-brand span {
    display: none
  }

  .overlay-link {
    min-height: 78px
  }

  .overlay-link .nav-text {
    font-size: 2.35rem
  }

  .overlay-link>i {
    width: 38px;
    height: 38px
  }

  .menu-main {
    overflow: auto;
    padding-top: 24px
  }

  .section-space {
    padding: 78px 0
  }

  .section-space-sm {
    padding: 55px 0
  }

  .display-title {
    font-size: clamp(2.7rem, 12vw, 4.8rem)
  }

  .display-title.small {
    font-size: clamp(2.35rem, 10vw, 4rem)
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 45px
  }

  .section-head.compact {
    margin-bottom: 32px
  }

  .intro-top {
    margin-bottom: 42px
  }

  .statement-title {
    font-size: clamp(2.25rem, 9.5vw, 4rem)
  }

  .hero-container {
    padding: 120px 20px 140px !important
  }

  .hero-title {
    font-size: clamp(3.2rem, 15vw, 5.2rem)
  }

  .hero-kicker b {
    display: none
  }

  .hero-actions {
    gap: 18px;
    flex-wrap: wrap
  }

  .circle-link {
    width: 170px;
    height: 58px
  }

  .hero-bottom {
    padding: 0 24px !important
  }

  .scroll-hint span {
    display: none
  }

  .hero-nav {
    display: none
  }

  .project-showcase-row {
    padding: 30px 0
  }

  .project-showcase-media {
    min-height: 330px
  }

  .project-showcase-copy h3 {
    font-size: 2.55rem
  }

  .numbers-section {
    padding: 65px 0
  }

  .numbers-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
  }

  .number-cell {
    min-height: 190px;
    padding: 34px 20px
  }

  .number-cell strong {
    font-size: 3.5rem
  }

  .focus-item {
    grid-template-columns: 38px 54px 1fr 32px;
    gap: 10px
  }

  .focus-icon {
    width: 50px;
    height: 50px
  }

  .focus-copy h3 {
    font-size: 1.35rem
  }

  .focus-copy p {
    font-size: .82rem
  }

  .marquee-card {
    width: 280px;
    height: 200px
  }

  .cinematic-video,
  .project-video-stage {
    min-height: 0;
    height: 56vw;
    max-height: 440px
  }

  .video-play {
    width: 92px;
    height: 92px
  }

  .video-caption {
    right: 18px;
    bottom: 18px
  }

  .video-caption strong {
    font-size: .9rem
  }

  .why-grid {
    grid-template-columns: 1fr
  }

  .why-card {
    min-height: 310px
  }

  .testimonial-card {
    min-height: 350px
  }

  .home-map {
    min-height: 390px
  }

  .home-contact-panel {
    padding: 45px 25px
  }

  .form-split {
    grid-template-columns: 1fr
  }

  .inner-hero {
    min-height: 520px;
    padding: 70px 0 55px
  }

  .inner-hero-top {
    margin-bottom: 35px
  }

  .inner-title {
    font-size: clamp(3.5rem, 15vw, 6rem)
  }

  .story-media {
    height: 470px
  }

  .story-year {
    width: 135px;
    height: 135px;
    left: 15px;
    bottom: 20px
  }

  .story-year strong {
    font-size: 2.1rem
  }

  .team-grid {
    grid-template-columns: 1fr
  }

  .team-image {
    height: 460px
  }

  .faq-item>button {
    grid-template-columns: 34px 1fr 38px
  }

  .faq-answer {
    padding: 0 46px 24px 0
  }

  .archive-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px
  }

  .archive-project {
    padding: 38px 0;
    gap: 25px
  }

  .archive-image {
    height: 350px;
    min-height: 350px
  }

  .archive-title h2 {
    font-size: 2.7rem
  }

  .archive-meta {
    grid-template-columns: 1fr 1fr
  }

  .project-detail-inner {
    padding-right: 22px !important;
    padding-left: 22px !important
  }

  .project-back {
    right: 22px;
    left: 22px;
    top: 95px
  }

  .project-detail-title {
    font-size: clamp(3.8rem, 16vw, 6rem)
  }

  .project-hero-facts {
    margin-top: 35px
  }

  .project-hero-facts>span {
    padding: 13px 8px;
    font-size: .78rem
  }

  .project-story-grid {
    gap: 25px
  }

  .feature-mosaic {
    grid-template-columns: 1fr
  }

  .feature-tile.feature-wide {
    grid-column: auto
  }

  .feature-tile {
    min-height: 330px
  }

  .location-copy {
    padding: 35px 24px
  }

  .location-map {
    min-height: 400px
  }

  .project-gallery-v3 {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px
  }

  .project-gallery-item.gallery-large {
    grid-column: auto;
    grid-row: auto
  }

  .contact-strip {
    grid-template-columns: 1fr
  }

  .contact-strip-item {
    min-height: 180px
  }

  .contact-address-panel,
  .contact-form-panel {
    padding: 38px 24px
  }

  .contact-map {
    height: 320px;
    min-height: 320px
  }

  .footer-contact-band {
    padding-bottom: 30px
  }

  .footer-contact-link {
    min-height: 125px;
    padding: 24px
  }

  .footer-contact-link strong {
    font-size: 1.45rem
  }

  .footer-contact-link>i {
    width: 52px;
    height: 52px
  }

  .footer-top {
    padding: 75px 0 45px
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0
  }

  .floating-whatsapp span {
    display: none
  }

  .floating-whatsapp {
    width: 50px;
    padding: 0;
    justify-content: center
  }

  .back-to-top {
    display: none
  }
}

@media(max-width:479.98px) {
  .numbers-grid {
    grid-template-columns: 1fr 1fr
  }

  .number-cell strong {
    font-size: 2.85rem
  }

  .number-cell {
    padding: 30px 14px;
    min-height: 170px
  }

  .project-facts {
    padding-top: 20px
  }

  .archive-copy {
    grid-template-columns: 1fr
  }

  .archive-no {
    display: none
  }

  .archive-meta {
    grid-column: 1
  }

  .contact-strip-item strong {
    font-size: .88rem
  }
}

@media(prefers-reduced-motion:reduce) {

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

  .marquee-track {
    animation-play-state: paused !important
  }
}

/* =========================================================
   REFAH V4 — compact scale + PrimeStar-inspired desktop nav
   ========================================================= */

/* Smaller, calmer global scale */
.section-space {
  padding: 108px 0
}

.section-space-sm {
  padding: 70px 0
}

.display-title {
  font-size: clamp(2.65rem, 4.7vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: -.045em
}

.display-title.small {
  font-size: clamp(2.25rem, 3.75vw, 4.1rem)
}

.statement-title {
  font-size: clamp(2.35rem, 4.2vw, 4.75rem);
  line-height: 1.2
}

.hero-title {
  font-size: clamp(3.25rem, 6.4vw, 7.15rem);
  line-height: .98;
  letter-spacing: -.05em;
  max-width: 900px
}

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

.hero-subtitle {
  font-size: clamp(.98rem, 1.25vw, 1.16rem);
  max-width: 620px
}

.project-showcase-copy h3 {
  font-size: clamp(2.1rem, 3.7vw, 4.15rem);
  letter-spacing: -.04em
}

.number-cell strong {
  font-size: clamp(3.15rem, 5.3vw, 5.9rem)
}

.inner-title {
  font-size: clamp(3.15rem, 6vw, 6.9rem);
  line-height: 1
}

.archive-title h2 {
  font-size: clamp(2.2rem, 3.8vw, 4.25rem);
  line-height: 1.05
}

.project-detail-title {
  font-size: clamp(3.5rem, 7vw, 7.7rem);
  line-height: .96
}

.footer-contact-link strong {
  font-size: clamp(1.4rem, 2.3vw, 2.55rem)
}

/* Desktop navigation: expanded by default, compact hamburger only on mobile */
.site-header {
  height: 104px;
  padding-top: 16px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: var(--ink);
  pointer-events: none;
}

.header-shell {
  width: min(1440px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  padding-inline: 18px !important;
  border: 1px solid rgba(37, 25, 20, .10);
  border-radius: 20px;
  background: rgba(255, 253, 249, .95);
  box-shadow: 0 14px 40px rgba(46, 27, 18, .08);
  transition: background .38s var(--ease), border-color .38s var(--ease), box-shadow .38s var(--ease), transform .38s var(--ease), backdrop-filter .38s var(--ease);
  pointer-events: auto;
}

.home-page .site-header:not(.scrolled) .header-shell,
.project-detail-page .site-header:not(.scrolled) .header-shell {
  background: rgba(231, 169, 47, .97);
  color: var(--brown-dark);
  border-color: rgba(77, 37, 18, .10);
  box-shadow: 0 18px 48px rgba(43, 21, 12, .14);
}

.site-header.scrolled .header-shell {
  background: rgba(255, 253, 249, .80);
  border-color: rgba(37, 25, 20, .10);
  box-shadow: 0 16px 46px rgba(43, 27, 18, .09);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

.site-header.scrolled {
  transform: none
}

.brand-logo {
  width: 72px;
  height: 54px;
  padding: 4px 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 7px 18px rgba(58, 30, 16, .08);
}

.brand-logo img {
  filter: none
}

.brand-text strong {
  font-size: .9rem
}

.brand-text small {
  font-size: .56rem
}

.desktop-nav {
  align-items: center;
  gap: 4px;
  margin-inline: auto
}

.desktop-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.desktop-nav-link::after {
  content: "";
  position: absolute;
  right: 15px;
  left: 15px;
  bottom: 7px;
  height: 2px;
  border-radius: 5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s var(--ease);
  opacity: .8;
}

.desktop-nav-link:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-1px)
}

.site-header.scrolled .desktop-nav-link:hover {
  background: rgba(123, 47, 29, .06)
}

.desktop-nav-link:hover::after,
.desktop-nav-link.active::after {
  transform: scaleX(1)
}

.header-actions {
  gap: 10px
}

.header-contact {
  min-height: 48px;
  padding: 0 17px 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--brown-dark);
  color: #fff;
  font-size: .8rem;
  gap: 12px;
}

.header-contact i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-dark);
  display: grid;
  place-items: center;
}

.header-contact:hover {
  color: #fff
}

.internal-page main {
  padding-top: 104px
}

/* Stable dual-row gallery: fixed time, no coupling to scroll velocity */
.moving-gallery {
  overflow: hidden
}

.marquee-shell {
  direction: ltr;
  display: flex;
  flex-direction: column;
  gap: 14px;
  contain: layout paint;
}

.marquee-row {
  width: 100%;
  overflow: hidden;
  transform: translateZ(0);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: refahGalleryForward 82s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.marquee-reverse .marquee-track {
  animation: refahGalleryReverse 90s linear infinite
}

.marquee-group {
  display: flex;
  gap: 16px;
  padding-inline-end: 16px;
  flex: none
}

.marquee-card {
  width: clamp(250px, 24vw, 380px);
  height: 232px;
  flex: none
}

.marquee-card.marquee-tall {
  width: clamp(235px, 22vw, 340px)
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused
}

@keyframes refahGalleryForward {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-50%, 0, 0)
  }
}

@keyframes refahGalleryReverse {
  from {
    transform: translate3d(-50%, 0, 0)
  }

  to {
    transform: translate3d(0, 0, 0)
  }
}

/* Customer comments: calm continuous marquee */
.testimonials-section {
  overflow: hidden
}

.testimonial-note {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: .82rem
}

.testimonials-marquee {
  direction: ltr;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.testimonials-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: refahTestimonials 72s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.testimonials-group {
  display: flex;
  gap: 16px;
  padding-inline-end: 16px;
  flex: none
}

.testimonials-marquee:hover .testimonials-track {
  animation-play-state: paused
}

.testimonial-card {
  direction: rtl;
  width: clamp(305px, 29vw, 420px);
  min-height: 330px;
  flex: none;
  padding: 30px;
  background: var(--paper);
}

.testimonial-card>p {
  font-size: 1.02rem;
  line-height: 1.95;
  margin: 20px 0 30px
}

@keyframes refahTestimonials {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-50%, 0, 0)
  }
}

/* Footer follows the brown/gold identity of the logo */
.footer-contact-band {
  background: var(--brown-dark);
  padding: 52px 0 0
}

.site-footer {
  background: var(--brown-dark);
  color: #fff;
  padding-top: 54px
}

.footer-word {
  -webkit-text-stroke: 1px rgba(255, 255, 255, .055)
}

.footer-top {
  border-top-color: rgba(255, 255, 255, .14)
}

.footer-brand span,
.footer-summary,
.footer-links a,
.footer-contact-list p,
.footer-bottom {
  color: rgba(255, 255, 255, .64)
}

.footer-label {
  color: var(--gold-soft)
}

.footer-links a:hover {
  color: var(--gold-soft)
}

.footer-contact-list a {
  color: #fff
}

.site-footer .footer-socials a {
  border-color: rgba(255, 255, 255, .22);
  color: #fff
}

.site-footer .footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-dark)
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, .14)
}

.footer-bottom a:hover {
  color: var(--gold-soft)
}

/* Keep animated rows visually stable while page is being smoothed by Lenis */
.marquee-track,
.testimonials-track {
  pointer-events: auto
}

@media (max-width:1199.98px) {
  .desktop-nav-link {
    padding-inline: 11px;
    font-size: .82rem
  }

  .header-contact {
    padding-right: 14px;
    font-size: .76rem
  }

  .brand-logo {
    width: 66px
  }

  .hero-title {
    font-size: clamp(3.1rem, 7vw, 6.3rem)
  }
}

@media (max-width:991.98px) {
  .site-header {
    height: 82px;
    padding-top: 10px
  }

  .header-shell {
    width: calc(100% - 24px);
    height: 60px;
    border-radius: 16px;
    padding-inline: 10px !important
  }

  .home-page .site-header:not(.scrolled) .header-shell,
  .project-detail-page .site-header:not(.scrolled) .header-shell {
    background: rgba(231, 169, 47, .96)
  }

  .brand-logo {
    width: 60px;
    height: 48px;
    border-radius: 12px
  }

  .menu-trigger {
    padding: 0
  }

  .menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px
  }

  .internal-page main {
    padding-top: 82px
  }

  .section-space {
    padding: 86px 0
  }

  .section-space-sm {
    padding: 58px 0
  }

  .display-title {
    font-size: clamp(2.4rem, 7vw, 4.35rem)
  }

  .display-title.small {
    font-size: clamp(2.15rem, 6vw, 3.65rem)
  }

  .statement-title {
    font-size: clamp(2.15rem, 6vw, 3.8rem)
  }

  .hero-copy {
    width: 100%
  }

  .hero-title {
    font-size: clamp(3rem, 9vw, 5.4rem)
  }

  .project-showcase-copy h3 {
    font-size: clamp(2.1rem, 6vw, 3.45rem)
  }

  .inner-title {
    font-size: clamp(3rem, 8vw, 5.2rem)
  }

  .project-detail-title {
    font-size: clamp(3.25rem, 9vw, 5.8rem)
  }

  .number-cell strong {
    font-size: clamp(3rem, 7vw, 4.75rem)
  }

  .marquee-card {
    width: 320px;
    height: 218px
  }

  .testimonial-card {
    width: 360px;
    min-height: 320px
  }
}

@media (max-width:767.98px) {
  .section-space {
    padding: 72px 0
  }

  .section-space-sm {
    padding: 50px 0
  }

  .display-title {
    font-size: clamp(2.15rem, 9.2vw, 3.55rem)
  }

  .display-title.small {
    font-size: clamp(2rem, 8.3vw, 3.15rem)
  }

  .statement-title {
    font-size: clamp(2rem, 8.5vw, 3.25rem)
  }

  .hero-container {
    padding-top: 110px !important;
    padding-bottom: 128px !important
  }

  .hero-title {
    font-size: clamp(2.8rem, 11vw, 4.5rem)
  }

  .inner-title {
    font-size: clamp(2.8rem, 11vw, 4.6rem)
  }

  .project-detail-title {
    font-size: clamp(3rem, 12vw, 5rem)
  }

  .archive-title h2 {
    font-size: clamp(2.15rem, 8vw, 3.3rem)
  }

  .project-showcase-copy h3 {
    font-size: clamp(2.05rem, 8vw, 3.2rem)
  }

  .number-cell strong {
    font-size: 3.15rem
  }

  .marquee-shell {
    gap: 12px
  }

  .marquee-group {
    gap: 12px;
    padding-inline-end: 12px
  }

  .marquee-card,
  .marquee-card.marquee-tall {
    width: 270px;
    height: 190px
  }

  .marquee-track {
    animation-duration: 68s
  }

  .marquee-reverse .marquee-track {
    animation-duration: 74s
  }

  .testimonials-group {
    gap: 12px;
    padding-inline-end: 12px
  }

  .testimonial-card {
    width: 310px;
    min-height: 305px;
    padding: 25px
  }

  .testimonials-track {
    animation-duration: 64s
  }

  .footer-contact-band {
    padding-top: 34px
  }
}

@media (max-width:479.98px) {
  .header-shell {
    width: calc(100% - 18px)
  }

  .hero-title {
    font-size: clamp(2.65rem, 12vw, 4rem)
  }

  .display-title {
    font-size: clamp(2.05rem, 10vw, 3.2rem)
  }

  .display-title.small {
    font-size: clamp(1.95rem, 9vw, 2.85rem)
  }

  .statement-title {
    font-size: clamp(1.95rem, 9.5vw, 2.9rem)
  }

  .testimonial-card {
    width: 285px
  }

  .marquee-card,
  .marquee-card.marquee-tall {
    width: 245px;
    height: 178px
  }
}

@media(prefers-reduced-motion:reduce) {

  .marquee-track,
  .testimonials-track {
    animation-play-state: paused !important
  }
}

.site-footer .footer-brand img {
  background: rgba(255, 255, 255, .94);
  padding: 7px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12)
}

.site-footer .footer-brand strong {
  color: #fff
}


/* =========================================================
   REFAH V5 — refined scale, visual page intros, hierarchy UI
   ========================================================= */

/* Brand typography: dark burgundy instead of pure black */
body {
  color: var(--brown-dark)
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
.desktop-nav-link,
.mobile-nav-link {
  color: inherit
}

/* One more step down in scale for a calmer premium rhythm */
.section-space {
  padding: 96px 0
}

.section-space-sm {
  padding: 62px 0
}

.display-title {
  font-size: clamp(2.35rem, 4.05vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: -.038em
}

.display-title.small {
  font-size: clamp(2.05rem, 3.25vw, 3.55rem)
}

.statement-title {
  font-size: clamp(2.05rem, 3.7vw, 4rem)
}

.hero-title {
  font-size: clamp(2.9rem, 5.45vw, 5.95rem);
  line-height: 1.01;
  max-width: 850px
}

.project-showcase-copy h3 {
  font-size: clamp(1.9rem, 3.1vw, 3.45rem)
}

.number-cell strong {
  font-size: clamp(2.85rem, 4.6vw, 5rem)
}

.inner-title {
  font-size: clamp(2.65rem, 4.85vw, 5.3rem);
  line-height: 1.04
}

.archive-title h2 {
  font-size: clamp(1.95rem, 3.1vw, 3.45rem)
}

.project-detail-title {
  font-size: clamp(3rem, 5.7vw, 6.1rem)
}

.focus-copy h3 {
  font-size: clamp(1.35rem, 2vw, 2.05rem)
}

/* Header: gold at the top, translucent light glass after scroll */
.site-header:not(.scrolled) .header-shell {
  background: rgba(231, 169, 47, .97) !important;
  color: var(--brown-dark) !important;
  border-color: rgba(77, 37, 18, .1) !important;
  box-shadow: 0 18px 48px rgba(43, 21, 12, .12) !important;
  backdrop-filter: none !important;
}

.site-header.scrolled .header-shell {
  background: rgba(255, 253, 249, .82) !important;
  color: var(--brown-dark) !important;
  backdrop-filter: blur(22px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.35) !important;
}

/* Compact dropdown mobile/tablet navigation, never fullscreen */
.mobile-menu-panel {
  position: fixed;
  top: 82px;
  right: 14px;
  left: 14px;
  z-index: 1038;
  max-width: 480px;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(59, 22, 14, .12);
  border-radius: 22px;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 26px 70px rgba(59, 22, 14, .18);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(.975);
  transform-origin: top center;
  transition: opacity .32s var(--ease), visibility .32s, transform .38s var(--ease);
}

.mobile-menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none
}

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

.mobile-nav-link {
  min-height: 56px;
  padding: 0 15px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brown-dark);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.mobile-nav-link i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(123, 47, 29, .07);
  display: grid;
  place-items: center;
  color: var(--brown)
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--brown);
  color: #fff;
  transform: translateX(-2px)
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
  background: rgba(255, 255, 255, .13);
  color: var(--gold-soft)
}

.mobile-menu-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line)
}

.mobile-menu-contact a {
  min-height: 46px;
  border-radius: 13px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 800;
  color: var(--brown-dark)
}

.mobile-menu-contact a i {
  color: var(--brown)
}

.menu-trigger.is-open .menu-icon i:first-child {
  transform: translateY(3.5px) rotate(45deg)
}

.menu-trigger.is-open .menu-icon i:last-child {
  transform: translateY(-3.5px) rotate(-45deg)
}

/* Home story replaces the old oversized statement */
.home-story-section {
  background: var(--paper)
}

.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center
}

.home-story-media {
  height: 620px;
  position: relative;
  border-radius: 28px 4px 28px 4px
}

.home-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.home-story-year {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--brown-dark);
  box-shadow: 0 18px 50px rgba(59, 22, 14, .2)
}

.home-story-year small {
  font-size: .66rem;
  font-weight: 850
}

.home-story-year strong {
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 900
}

.home-story-copy>p {
  font-size: 1rem;
  line-height: 2.15;
  color: var(--muted);
  margin: 24px 0 30px
}

.home-story-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

.home-story-actions>span {
  font-size: .72rem;
  color: var(--muted)
}

/* Internal page opening: image first, text below — never text on image */
.page-visual-intro {
  padding: 28px 0 58px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden
}

.page-visual-intro::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: 10px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(123, 47, 29, .08);
  border-radius: 50%
}

.page-visual-frame {
  height: clamp(300px, 39vw, 520px);
  border-radius: 30px 7px 30px 7px;
  box-shadow: 0 24px 70px rgba(59, 22, 14, .10);
  background: var(--paper-2)
}

.page-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.page-visual-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  z-index: 2;
  pointer-events: none
}

.page-visual-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 120px;
  background: var(--gold);
  clip-path: polygon(100% 0, 100% 100%, 0 100%)
}

.page-intro-copy {
  padding-top: 34px
}

.page-intro-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .74rem;
  margin-bottom: 30px
}

.page-intro-breadcrumb strong {
  color: var(--brown)
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 50px;
  align-items: end
}

.page-intro-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 2.05;
  max-width: 520px
}

/* About overview */
.about-overview {
  background: var(--paper)
}

.about-overview-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start
}

.about-overview-text {
  border-right: 1px solid var(--line);
  padding-right: 34px
}

.about-overview-text p {
  font-size: 1.06rem;
  line-height: 2.2;
  color: var(--muted);
  margin: 0
}

/* Management hierarchy */
.team-hierarchy-section {
  background: var(--paper)
}

.team-hierarchy {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center
}

.hierarchy-level {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative
}

.hierarchy-level-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start
}

.hierarchy-card {
  width: min(100%, 340px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(59, 22, 14, .07)
}

.hierarchy-level-top .hierarchy-card {
  width: min(100%, 390px)
}

.hierarchy-photo {
  height: 365px;
  position: relative;
  overflow: hidden;
  background: var(--paper-2)
}

.hierarchy-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s
}

.hierarchy-bio {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: rgba(59, 22, 14, .88);
  color: #fff;
  border-radius: 16px;
  padding: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: .42s var(--ease);
  backdrop-filter: blur(10px)
}

.hierarchy-bio p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  line-height: 1.9
}

.hierarchy-card:hover .hierarchy-photo img {
  transform: scale(1.045);
  filter: saturate(1.05)
}

.hierarchy-card:hover .hierarchy-bio {
  opacity: 1;
  transform: none
}

.hierarchy-meta {
  padding: 20px 22px 23px;
  text-align: center
}

.hierarchy-meta small {
  color: var(--brown);
  font-weight: 850
}

.hierarchy-meta h3 {
  font-size: 1.35rem;
  margin: 5px 0 0;
  font-weight: 900;
  color: var(--brown-dark)
}

.hierarchy-connector {
  position: relative;
  width: 100%;
  height: 70px
}

.connector-down::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(123, 47, 29, .35)
}

.connector-branch::before {
  content: "";
  position: absolute;
  top: 0;
  height: 35px;
  left: 50%;
  border-left: 1px dashed rgba(123, 47, 29, .35)
}

.connector-branch::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 17%;
  left: 17%;
  border-top: 1px dashed rgba(123, 47, 29, .35)
}

.hierarchy-level-branches::before {
  content: "";
  position: absolute;
  top: -35px;
  right: 16.7%;
  left: 16.7%;
  height: 35px;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(33.333% - 1px), rgba(123, 47, 29, .35) calc(33.333% - 1px), rgba(123, 47, 29, .35) 33.333%);
  pointer-events: none
}

/* Philosophy / values / achievements */
.principles-section {
  background: var(--bg)
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.principle-card {
  min-height: 390px;
  padding: 30px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: .4s var(--ease)
}

.principle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brown);
  transform: translateY(101%);
  transition: transform .45s var(--ease)
}

.principle-card>* {
  position: relative;
  z-index: 1
}

.principle-card>span {
  font-size: .67rem;
  color: var(--muted)
}

.principle-card>i {
  display: block;
  font-size: 2rem;
  color: var(--gold);
  margin: 55px 0 24px
}

.principle-card h3 {
  font-size: 1.4rem;
  font-weight: 900
}

.principle-card p {
  font-size: .88rem;
  line-height: 2;
  color: var(--muted)
}

.principle-card:hover::before {
  transform: none
}

.principle-card:hover {
  color: #fff
}

.principle-card:hover p,
.principle-card:hover>span {
  color: rgba(255, 255, 255, .72)
}

.values-section {
  background: var(--paper)
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px
}

.value-card {
  padding: 25px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  min-height: 220px;
  transition: .35s var(--ease)
}

.value-card>span {
  font-size: .65rem;
  color: var(--muted)
}

.value-card>i {
  display: block;
  color: var(--brown);
  font-size: 1.6rem;
  margin: 28px 0 16px
}

.value-card h3 {
  font-size: 1.18rem;
  font-weight: 900
}

.value-card p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0
}

.value-card:hover {
  transform: translateY(-7px);
  background: var(--gold-soft);
  border-color: transparent
}

.achievements-section {
  background: var(--bg)
}

.achievement-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.achievement-city {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px
}

.achievement-city-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 10px
}

.achievement-city-head span {
  font-size: .68rem;
  color: var(--muted)
}

.achievement-city-head h3 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 900
}

.achievement-city ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.achievement-city li {
  padding: 13px 0;
  border-bottom: 1px dashed rgba(123, 47, 29, .16);
  font-size: .9rem;
  color: var(--muted)
}

.achievement-city li:last-child {
  border-bottom: 0
}

.responsibility-section {
  background: var(--paper)
}

.responsibility-card {
  background: var(--brown-dark);
  color: #fff;
  border-radius: 28px;
  padding: clamp(35px, 5vw, 70px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
  position: relative;
  overflow: hidden
}

.responsibility-card::after {
  content: "REFAH";
  position: absolute;
  left: -1vw;
  bottom: -4vw;
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .05);
  direction: ltr
}

.responsibility-card>* {
  position: relative;
  z-index: 1
}

.responsibility-card p {
  color: rgba(255, 255, 255, .72);
  line-height: 2.1;
  margin: 0
}

/* Project information pills */
.archive-meta-pills {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: wrap;
  gap: 9px;
  align-items: flex-start
}

.archive-meta-pills>span {
  display: inline-grid;
  grid-template-columns: 24px auto;
  grid-template-rows: auto auto;
  column-gap: 7px;
  align-items: center;
  min-height: 58px;
  padding: 9px 14px;
  border-radius: 16px;
  background: var(--paper-2);
  border: 1px solid rgba(123, 47, 29, .09);
  min-width: 138px;
  transition: .3s var(--ease)
}

.archive-meta-pills>span i {
  grid-row: 1/3;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--brown)
}

.archive-meta-pills>span small {
  font-size: .6rem;
  color: var(--muted);
  line-height: 1.2
}

.archive-meta-pills>span b {
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.5;
  color: var(--brown-dark)
}

.archive-meta-pills>span:hover {
  transform: translateY(-3px);
  background: var(--gold-soft);
  border-color: transparent
}

.archive-meta-pills .address-pill {
  min-width: min(100%, 330px)
}

/* Gallery: four identical groups keep the viewport filled at any width */
.marquee-shell {
  contain: none !important;
  overflow: visible
}

.marquee-track {
  animation: refahGalleryForwardV5 94s linear infinite !important;
  transform: translate3d(0, 0, 0)
}

.marquee-reverse .marquee-track {
  animation: refahGalleryReverseV5 104s linear infinite !important
}

@keyframes refahGalleryForwardV5 {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-16.6666667%, 0, 0)
  }
}

@keyframes refahGalleryReverseV5 {
  from {
    transform: translate3d(-16.6666667%, 0, 0)
  }

  to {
    transform: translate3d(0, 0, 0)
  }
}

.testimonials-track {
  animation: refahTestimonialsV5 86s linear infinite !important
}

@keyframes refahTestimonialsV5 {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-16.6666667%, 0, 0)
  }
}

.marquee-row,
.testimonials-marquee {
  overflow: hidden !important
}

.marquee-group,
.testimonials-group {
  flex: none !important
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16)
}

.contact-social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff;
  font-size: .75rem;
  transition: .3s
}

.contact-social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-dark);
  transform: translateY(-3px)
}

@media(max-width:991.98px) {
  .section-space {
    padding: 78px 0
  }

  .section-space-sm {
    padding: 52px 0
  }

  .display-title {
    font-size: clamp(2.2rem, 6.2vw, 3.75rem)
  }

  .display-title.small {
    font-size: clamp(2rem, 5.4vw, 3.2rem)
  }

  .hero-title {
    font-size: clamp(2.7rem, 8vw, 4.75rem)
  }

  .inner-title {
    font-size: clamp(2.55rem, 7.2vw, 4.35rem)
  }

  .mobile-menu-panel {
    top: 78px
  }

  .home-story-grid,
  .page-intro-grid,
  .about-overview-grid,
  .responsibility-card {
    grid-template-columns: 1fr
  }

  .home-story-media {
    height: 500px
  }

  .page-intro-grid {
    gap: 24px
  }

  .page-intro-grid p {
    max-width: 650px
  }

  .principles-grid {
    grid-template-columns: 1fr
  }

  .principle-card {
    min-height: 300px
  }

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

  .achievement-cities {
    grid-template-columns: 1fr
  }

  .hierarchy-level-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .connector-branch::after,
  .hierarchy-level-branches::before {
    display: none
  }

  .archive-meta-pills {
    grid-column: 1 / -1
  }
}

@media(max-width:767.98px) {
  .section-space {
    padding: 66px 0
  }

  .section-space-sm {
    padding: 44px 0
  }

  .display-title {
    font-size: clamp(2rem, 8.5vw, 3rem)
  }

  .display-title.small {
    font-size: clamp(1.85rem, 7.8vw, 2.75rem)
  }

  .statement-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem)
  }

  .hero-title {
    font-size: clamp(2.45rem, 10.5vw, 3.8rem)
  }

  .inner-title {
    font-size: clamp(2.25rem, 9vw, 3.55rem)
  }

  .project-detail-title {
    font-size: clamp(2.7rem, 10vw, 4.2rem)
  }

  .mobile-menu-panel {
    top: 72px;
    right: 9px;
    left: 9px;
    border-radius: 18px;
    padding: 8px
  }

  .mobile-nav-link {
    min-height: 52px;
    font-size: .95rem
  }

  .mobile-menu-contact {
    grid-template-columns: 1fr
  }

  .page-visual-intro {
    padding-top: 14px
  }

  .page-visual-frame {
    height: 280px;
    border-radius: 20px 5px
  }

  .page-visual-frame::before {
    inset: 10px
  }

  .page-visual-accent {
    width: 76px;
    height: 76px
  }

  .page-intro-copy {
    padding-top: 25px
  }

  .page-intro-breadcrumb {
    margin-bottom: 22px
  }

  .home-story-media {
    height: 380px
  }

  .home-story-year {
    width: 108px;
    height: 108px;
    left: 16px;
    bottom: 16px
  }

  .home-story-year strong {
    font-size: 1.75rem
  }

  .about-overview-text {
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0
  }

  .about-overview-text p {
    font-size: .96rem
  }

  .hierarchy-level-branches {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .hierarchy-photo {
    height: 330px
  }

  .hierarchy-card,
  .hierarchy-level-top .hierarchy-card {
    width: min(100%, 350px)
  }

  .values-grid {
    grid-template-columns: 1fr
  }

  .value-card {
    min-height: 190px
  }

  .responsibility-card {
    padding: 30px 24px;
    border-radius: 20px
  }

  .archive-meta-pills>span {
    min-width: calc(50% - 5px);
    flex: 1
  }

  .archive-meta-pills .address-pill {
    min-width: 100%
  }

  .marquee-card,
  .marquee-card.marquee-tall {
    width: 250px;
    height: 176px
  }

  .testimonial-card {
    width: 285px;
    min-height: 295px
  }
}

@media(max-width:479.98px) {
  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.35rem)
  }

  .display-title {
    font-size: clamp(1.9rem, 9vw, 2.7rem)
  }

  .display-title.small {
    font-size: clamp(1.8rem, 8.5vw, 2.5rem)
  }

  .inner-title {
    font-size: clamp(2.15rem, 10vw, 3.15rem)
  }

  .page-visual-frame {
    height: 235px
  }

  .home-story-media {
    height: 330px
  }

  .archive-meta-pills>span {
    min-width: 100%
  }
}

@media(max-width:767.98px) {
  .site-header {
    height: 72px;
    padding-top: 7px
  }

  .header-shell {
    height: 58px
  }

  .internal-page main {
    padding-top: 72px
  }

  .mobile-menu-panel {
    top: 72px
  }
}