/* Moved from style.css – FOMO DESIGN PAGE RULES */
/* ============================================
   FOMO DESIGN PAGE � HERO
   ============================================ */
.design-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #ffffff;
}
.design-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.design-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.design-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(67.64% 67.64% at 50% 56.34%, rgba(0,0,0,0.6) 12.5%, rgba(0,0,0,0) 100%);
}
.design-hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 834px;
  max-width: 90vw;
  text-align: center;
}
.design-hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
}
.design-hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.design-hero-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 620px;
  width: 100%;
  margin: 0;
}
.design-hero-cta {
  display: flex;
  justify-content: center;
  align-self: center;
  width: fit-content;
}
.design-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 10px 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  background: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.design-hero-btn:hover {
  background: transparent;
  color: #ffffff;
}
.design-hero-tear {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.design-hero-tear img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 960px) {
  .design-hero-section { height: 600px; min-height: 500px; }
  .design-hero-heading { font-size: 52px; }
}
@media (max-width: 600px) {
  .design-hero-section { height: 100svh; min-height: 460px; }
  .design-hero-heading { font-size: 62px; }
  .design-hero-desc { font-size: 17.6px; }
  .design-hero-btn { padding: 10px 28px; font-size: 14px; }
  .design-hero-cta { width: 100%; }
  .design-hero-btn { width: 100%; box-sizing: border-box; }
}

/* ============================================
   FOMO DESIGN PAGE – MARQUEE OVERRIDE
   ============================================ */
.design-marquee.amenities-marquee {
  background: #ffffff;
}

/* ============================================
   FOMO DESIGN PAGE – ABOUT SECTION
   ============================================ */
.design-about {
  position: relative;
  background: url(../images/ambitious-companies-bg.png) center top / cover no-repeat;
  padding: 100px 0 120px;
  overflow: hidden;
}
/* Large leaf decoration bleeding left */
.da-leaf {
  position: absolute;
  left: -80px;
  top: 300px;
  width: 600px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.da-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Block 1: text left / tall photo right ---- */
.da-block {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.da-block-1 {
  margin-bottom: 100px;
  align-items: center;
}
.da-block-2 {
  align-items: flex-start;
  gap: 60px;
}
.da-text {
  flex: 1;
}
.da-text-right {
  flex: 1;
}
.da-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 24px;
}
.da-body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(17,17,17,0.7);
  margin: 0 0 16px;
}
.da-body p:last-child {
  margin-bottom: 0;
}

/* ---- Image wrappers with clip-path reveal on scroll ---- */
.da-img-wrap {
  overflow: hidden;
}
.da-img-right {
  flex: 0 0 420px;
  height: 560px;
}
.da-img-left {
  flex: 0 0 300px;
  height: 440px;
}
.da-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  /* Start: clipped from outside edge */
  transition: clip-path 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.da-img-right img {
  clip-path: inset(0 100% 0 0);
}
.da-img-left img {
  clip-path: inset(0 0 0 100%);
}
/* Revealed state */
.da-img-wrap.revealed .da-img-right img,
.da-img-right.revealed img {
  clip-path: inset(0 0% 0 0);
}
.da-img-wrap.revealed .da-img-left img,
.da-img-left.revealed img {
  clip-path: inset(0 0 0 0%);
}

@media (max-width: 1100px) {
  .da-block {
    flex-direction: column;
    gap: 40px;
  }
  .da-text { flex: none; max-width: 100%; width: 100%; }
  .da-img-right { flex: none; width: 100%; height: 400px; }
  .da-img-left { flex: none; width: 100%; height: 300px; }
  .da-block-1 { flex-direction: column-reverse; }
}
@media (max-width: 960px) {
  .design-about { padding: 70px 0 80px; }
  .da-leaf { display: none; }
  .da-heading { font-size: 26px; }
  .da-block-1 { margin-bottom: 60px; }
  .da-img-right { height: 340px; }
  .da-img-left { height: 260px; }
}
@media (max-width: 600px) {
  .design-about { padding: 50px 0 60px; }
  .da-block { gap: 28px; }
  .da-block-1 { margin-bottom: 40px; }
  .da-heading { font-size: 22px; }
  .da-body p { font-size: 15px; }
  .da-img-right { height: 280px; }
  .da-img-left { height: 220px; }
}

/* ============================================
   FOMO DESIGN PAGE � 4 PILLARS HORIZONTAL SCROLL
   ============================================ */
.dp-outer {
  position: relative;
  height: 500vh;
}
.dp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.dp-track {
  display: flex;
  flex-direction: row;
  width: 400vw;
  height: 100%;
  will-change: transform;
}
/* Each panel = full viewport width + height */
.dp-panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  flex-shrink: 0;
}
/* Left text column � paper texture bg */
.dp-text {
  position: relative;
  z-index: 2;
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 90px;
  background: url(../images/ambitious-companies-bg.png) center top / cover no-repeat;
}
/* Numbered circle */
.dp-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
  flex-shrink: 0;
}
/* Category label */
.dp-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: #111111;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  display: block;
  font-style: italic;
}
/* Main heading */
.dp-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  color: #111111;
  margin: 0 0 24px;
}
/* Body text */
.dp-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(17,17,17,0.65);
  margin: 0;
  max-width: 400px;
}
/* Right image � fills remaining space */
.dp-img {
  flex: 1;
  overflow: hidden;
}
.dp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Pillars: tablet & below — disable animation, static stack ---- */
@media (max-width: 1024px) {
  .dp-outer {
    height: auto;
  }
  .dp-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .dp-track {
    flex-direction: column;
    width: 100%;
    transform: none !important;
  }
  .dp-panel {
    width: 100%;
    height: auto;
    min-height: 0;
    flex-direction: column;
  }
  .dp-img {
    flex: none;
    width: 100%;
    height: 350px;
  }
  .dp-text {
    flex: none;
    padding: 60px 40px 60px 56px;
    background-color: #ffffff;
  }
  .dp-heading { font-size: 28px; }
  .dp-desc { font-size: 15px; }
}
/* ---- Pillars: mobile — full column stack ---- */
@media (max-width: 700px) {
  .dp-panel {
    flex-direction: column;
  }
  .dp-img {
    height: 260px;
  }
  .dp-text {
    padding: 40px 24px 48px;
    background: #ffffff;
  }
  .dp-heading { display: none; }
  .dp-label {
    font-family: var(--font-display);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    color: #111111;
    margin-bottom: 16px;
  }
  .dp-desc { max-width: 100%; font-size: 15px; }
  .dp-number { margin-bottom: 16px; }
}

/* ============================================
   FOMO DESIGN PAGE – SELECTED PROJECTS
   ============================================ */
.design-projects {
  position: relative;
  background: #ffffff;
  padding: 100px 0 120px;
  overflow: hidden;
}

.dproj-header {
  position: relative;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
  padding: 0 var(--container-padding);
}

.dproj-leaf {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.dproj-leaf--left {
  left: -80px;
}

.dproj-leaf--right {
  right: -80px;
}

.dproj-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 16px;
  text-transform: capitalize;
}

.dproj-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #858585;
  margin: 0;
}

/* Full-bleed 2-column grid */
.dproj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 60px;
}

.dproj-card {
  display: flex;
  flex-direction: column;
}

.dproj-media {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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


.dproj-body {
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dproj-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  color: #111111;
  margin: 0;
  text-transform: capitalize;
}

.dproj-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dproj-tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(17, 17, 17, 0.7);
  text-transform: capitalize;
}

.dproj-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.5);
  flex-shrink: 0;
}

/* Centered outlined CTA */
.dproj-cta {
  display: flex;
  justify-content: center;
  padding: 0 var(--container-padding);
}

.dproj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 10px 16px;
  width: 406px;
  max-width: 100%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  color: #111111;
  border: 1px solid #111111;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.dproj-btn:hover {
  background: #111111;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1440px){
  .dproj-grid { grid-template-columns: auto !important; }
}
@media (max-width: 960px) {
  .dproj-title { font-size: 38px; }
  .dproj-desc { font-size: 17px; }
  .dproj-media { height: 380px; }
  .dproj-name { font-size: 26px; }
  .dproj-leaf { width: 240px; }
}

@media (max-width: 700px) {
  .design-projects { padding: 70px 0 90px; }
  
  .dproj-media { height: 300px; }
  .dproj-body { padding-left: 20px; }
  .dproj-leaf { display: none; }
  .dproj-btn { width: 100%; max-width: 340px; }
}
@media (max-width: 600px) {
  .design-projects { padding: 50px 0 70px; }
  .dproj-header { margin-bottom: 40px; }
  .dproj-title { font-size: 28px; }
  .dproj-desc { font-size: 15px; }
  .dproj-media { height: 260px; }
  .dproj-body { padding-left: 20px; }
  .dproj-name { font-size: 20px; }
  .dproj-tag { font-size: 14px; }
}

@media (max-width: 1100px) {
  .page-template-page-design .footer-logo-overlap {
    top: -53px;
  }
}

@media (max-width: 900px) {
  .page-template-page-design .footer-logo-overlap {
    top: -43px;
  }
}

@media (max-width: 480px) {
  .page-template-page-design .footer-logo-overlap {
    top: -33px;
  }
}