:root {
  --blue: #2b39ff;
  --blue-light: #d7e4ff;
  --magenta: #ff2e9c;
  --lime: #b6e34d;
  --black: #0d0d0d;
  --grey: #9aa0b4;
  --white: #ffffff;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--blue);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-lime { background: var(--lime); }
.dot-magenta { background: var(--magenta); }
.dot-black { background: var(--black); }
.dot-grey { background: var(--grey); }
.dot-blue { background: var(--blue); }

/* ---------- Header ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 22px 5vw;
}

.brand-icon { font-size: 1.1rem; }

.btn-dark {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-dark:hover { background: #262626; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 20px 5vw 80px;
  align-items: start;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,46,156,0.35) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,46,156,0.35) 39px 40px);
  opacity: 0.9;
  clip-path: polygon(0% 22%, 45% 22%, 45% 40%, 62% 40%, 62% 58%, 30% 58%, 30% 78%, 55% 78%, 55% 100%, 0% 100%);
  mask-image: radial-gradient(ellipse 65% 65% at 25% 65%, black 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 25% 65%, black 45%, transparent 88%);
}

.hero-main {
  position: relative;
  z-index: 1;
  padding-top: 10px;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--blue-light);
  background: var(--blue);
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 6px 14px;
  border-radius: 4px;
}

.hero-tagline {
  margin-top: 40px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blue);
  max-width: 520px;
  white-space: nowrap;
}

.view-work-link {
  display: inline-block;
  margin-top: 60px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  border-bottom: 1px solid #eef1fb;
  font-weight: 600;
}
.project-list li a {
  flex: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.project-list li time {
  color: var(--grey);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ---------- Placeholder photos ---------- */
.ph-photo {
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  letter-spacing: 0.5px;
  min-height: 180px;
  background-size: cover;
}
.ph-1 { background: linear-gradient(135deg, #3aa0ff, #2b39ff 60%, #ff2e9c); aspect-ratio: 3/4; }

.hero-portrait-video {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background: #111;
}
.ph-2 { background: linear-gradient(135deg, #ff5f6d, #ffc371); }
.ph-3 { background: linear-gradient(135deg, #667eea, #764ba2); }
.ph-4 { background: linear-gradient(135deg, #43cea2, #185a9d); }
.ph-5 { background: linear-gradient(135deg, #232526, #414345); }
.ph-6 { background: linear-gradient(135deg, #2b39ff, #3aa0ff 50%, #b6e34d); }

/* ---------- About ---------- */
.about { padding: 0 0 60px; }

.intro-band {
  position: relative;
  z-index: 1;
  background: var(--blue-light);
  padding: 50px 5vw;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--blue);
}

.intro-text {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 500;
  max-width: 900px;
  line-height: 1.4;
}

.section-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--blue);
  padding: 60px 5vw 30px;
}

.about {
  position: relative;
}

.about-grid-deco {
  position: absolute;
  top: 180px;
  right: 0;
  width: 45%;
  height: 750px;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,46,156,0.35) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,46,156,0.35) 39px 40px);
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 40%, black 45%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 40%, black 45%, transparent 92%);
  pointer-events: none;
  z-index: 0;
}

.project-floors {
  display: flex;
  flex-direction: column;
}

.project-floor {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
  padding: 50px 5vw;
  border-top: 1px solid #eef1fb;
}
.project-floor:last-child { border-bottom: 1px solid #eef1fb; }

.project-floor.floor-reverse .floor-media { order: 2; }
.project-floor.floor-reverse .floor-info { order: 1; }

.floor-grid-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,46,156,0.35) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,46,156,0.35) 39px 40px);
  opacity: 0.6;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 45%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 45%, transparent 92%);
  pointer-events: none;
  z-index: 0;
}

.floor-media, .floor-info { position: relative; z-index: 1; }

.floor-media { min-height: 340px; border-radius: 14px; }

.floor-video {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  background: #111;
}

.floor-video--portrait {
  width: auto;
  height: 560px;
  max-width: 100%;
  max-height: 75vh;
  justify-self: center;
}

.floor-info { display: flex; flex-direction: column; gap: 14px; }

.floor-index {
  font-size: 1rem;
  font-weight: 700;
  color: var(--magenta);
  letter-spacing: 1px;
}

.floor-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
}

.floor-desc {
  font-size: 1.05rem;
  font-weight: 500;
  color: #4a5568;
  line-height: 1.6;
  max-width: 480px;
}

.floor-link { margin-top: 8px; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--blue);
  overflow: hidden;
  padding: 22px 0;
  margin-top: 60px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}
.marquee-item {
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
}
.marquee-sep { color: var(--lime); font-size: 1.2rem; }
.badge-on-blue {
  border-color: var(--white);
  color: var(--white);
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- CTA photo ---------- */
.cta-photo {
  position: relative;
  margin: 60px 5vw 0;
  border-radius: 18px;
  overflow: hidden;
}
.cta-photo-bg {
  border-radius: 0;
  min-height: 480px;
}
.cta-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.cta-card p {
  margin: 14px 0 18px;
  font-weight: 500;
  color: #2a2a40;
  line-height: 1.4;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  margin-top: 60px;
  padding: 50px 5vw 20px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.footer-info { display: flex; flex-direction: column; gap: 14px; min-width: 280px; }
.info-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 12px;
  font-size: 0.95rem;
}
.info-label { width: 60px; color: var(--grey); flex: none; }
.info-value { text-align: right; flex: 1; line-height: 1.4; }

.footer-giant {
  font-size: clamp(2.2rem, 9vw, 7rem);
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: -1px;
  padding: 30px 0 10px;
  overflow: hidden;
}
.footer-giant-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}

.footer-bottom {
  color: var(--grey);
  font-size: 0.85rem;
  text-align: center;
  padding-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-grid-bg {
    clip-path: polygon(0% 15%, 60% 15%, 60% 30%, 100% 30%, 100% 48%, 40% 48%, 40% 65%, 70% 65%, 70% 100%, 0% 100%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, black 45%, transparent 88%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, black 45%, transparent 88%);
  }
  .hero-tagline { white-space: normal; max-width: none; }
  .about-grid-deco, .floor-grid-deco { display: none; }
  .project-floor { grid-template-columns: 1fr; gap: 24px; padding: 36px 5vw; }
  .project-floor.floor-reverse .floor-media,
  .project-floor.floor-reverse .floor-info { order: initial; }
  .floor-media { min-height: 240px; }
  .floor-video--portrait { height: 420px; }
}

@media (max-width: 560px) {
  .footer-top { flex-direction: column; }
  .info-value { text-align: left; }
}
