/* ==============================
   SCROLL ANIMATIONS v3 — safe & smooth
   Only opacity + transform. No clip-path.
   Transitions on base class survive sc-hidden → sc-visible swap.
============================== */

/* Images / project blocks: subtle zoom-out reveal */
.sc-img {
  transition: opacity 0.85s ease,
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.sc-hidden.sc-img {
  opacity: 0;
  transform: scale(1.04);
}
.sc-visible.sc-img {
  opacity: 1;
  transform: scale(1);
}

/* Headings: rise from below with spring */
.sc-rise {
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.sc-hidden.sc-rise {
  opacity: 0;
  transform: translateY(45px);
}
.sc-visible.sc-rise {
  opacity: 1;
  transform: translateY(0);
}

/* Body text, meta, form: gentle fade-up */
.sc-fadeup {
  transition: opacity 0.65s ease,
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.sc-hidden.sc-fadeup {
  opacity: 0;
  transform: translateY(22px);
}
.sc-visible.sc-fadeup {
  opacity: 1;
  transform: translateY(0);
}

/* Tab/filter rows */
.sc-stagger {
  transition: opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.sc-hidden.sc-stagger {
  opacity: 0;
  transform: translateY(18px);
}
.sc-visible.sc-stagger {
  opacity: 1;
  transform: translateY(0);
}

/* Hero heading & subtitle keep their translateX(-50%) centering */
.hero-heading.sc-hidden.sc-rise {
  transform: translateX(-50%) translateY(45px);
}
.hero-heading.sc-visible.sc-rise {
  transform: translateX(-50%) translateY(0);
}
.hero-subtitle.sc-hidden.sc-fadeup {
  transform: translateX(-50%) translateY(22px);
}
.hero-subtitle.sc-visible.sc-fadeup {
  transform: translateX(-50%) translateY(0);
}

/* Dividers: left-to-right wipe */
.sc-wipe {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
  will-change: transform;
}
.sc-hidden.sc-wipe {
  transform: scaleX(0);
}
.sc-visible.sc-wipe {
  transform: scaleX(1);
}

/* ==============================
   RESET & BASE
============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { text-decoration: none; color: inherit; }

/* ==============================
   PAGE WRAPPER
============================== */
.page {
  width: 1440px;
  margin: 0 auto;
  background: #fff;
  position: relative;
}

/* ==============================
   NAVIGATION
============================== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 100;
}

.nav-world-link {
  display: flex;
  align-items: center;
}

.nav-world {
  width: 61px;
  height: 13px;
}

.nav-logo {
  position: absolute;
  left: 50%;
  top: 23px;
  transform: translateX(-50%);
  width: 207px;
  height: 31px;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-right a,
.nav-world-link {
  opacity: 1;
  transition: opacity 0.2s;
}

.nav-right a:hover,
.nav-world-link:hover {
  opacity: 0.5;
}

/* ==============================
   HERO
============================== */
.hero {
  position: relative;
  width: 100%;
  padding-top: 139px;
  padding-bottom: 0;
}

.hero-image-wrap {
  position: relative;
  margin: 0 20px;
  border-radius: 20px;
  overflow: hidden;
  height: 740px;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active {
  background: #fff;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.35) 30%,
    rgba(0,0,0,0.40) 60%,
    rgba(0,0,0,0.50) 100%
  );
}

.hero-heading {
  position: absolute;
  top: 349px;
  left: 50%;
  transform: translateX(-50%);
  width: 1092px;
  font-size: 96px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  letter-spacing: -2.88px;
  line-height: 1.27;
  z-index: 2;
  white-space: normal;
}

.hero-subtitle {
  position: absolute;
  top: 625px;
  left: 50%;
  transform: translateX(-50%);
  width: 877px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  z-index: 2;
}

/* ==============================
   WORK SECTION
============================== */
.work-section {
  margin-top: 140px;
}

.section-heading {
  font-size: 40px;
  font-weight: 400;
  color: #000;
  text-align: center;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin-bottom: 56px;
}

/* ==============================
   PROJECT CARDS
============================== */
.projects-grid {
  display: grid;
  grid-template-columns: 686px 686px;
  gap: 27px;
  padding: 0 20px;
}

/* Cards linking to their case pages */
.project-card--link,
.lldm-wrap--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.project-card--link .project-photo,
.lldm-wrap--link .lldm-bg {
  transition: transform 0.5s ease;
}
.project-card--link:hover .project-photo,
.lldm-wrap--link:hover .lldm-bg {
  transform: scale(1.02);
}
.project-card--link:hover .client-name,
.lldm-wrap--link:hover .client-name {
  color: #0014ff;
}

.project-img-wrap {
  position: relative;
  height: 778px;
  border-radius: 20px;
  overflow: hidden;
}

.project-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name-overlay {
  position: absolute;
  bottom: 34px;
  left: 114px;
  width: 458px;
  height: 19px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 12px;
  padding: 6px 0;
}

.meta-right {
  text-align: right;
}

.client-name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
}

.project-date {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

.project-tagline {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

.project-tags {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

/* ==============================
   LL+DM
============================== */
.lldm-wrap {
  margin-top: 20px;
  padding: 0 20px;
}

.lldm-img-wrap {
  position: relative;
  height: 730px;
  border-radius: 20px;
  overflow: hidden;
}

.lldm-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lldm-logo {
  position: absolute;
  left: 102px;
  top: 300px;
  width: 118px;
  height: 130px;
  object-fit: contain;
}

.lldm-tagline {
  position: absolute;
  right: 40px;
  top: 354px;
  width: 237px;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}

.lldm-meta {
  margin-top: 12px;
  padding: 6px 0;
}

/* ==============================
   BUTTONS
============================== */
.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #000;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  letter-spacing: -0.48px;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: #0014ff;
  border-color: #0014ff;
  color: #fff;
}

.btn-lg {
  width: 331px;
  height: 62px;
}

.btn-sm {
  width: 210px;
  height: 55px;
  font-size: 20px;
  letter-spacing: 0;
}

/* ==============================
   CURA'S POV & UPDATES
============================== */
.pov-section {
  margin-top: 120px;
}

.divider {
  height: 1px;
  background: #000;
  margin: 0 20px;
}

.pov-inner {
  display: flex;
  gap: 17px;
  padding: 20px 20px 24px;
}

.pov-heading {
  font-size: 48px;
  font-weight: 400;
  color: #000;
  letter-spacing: -0.96px;
  line-height: 1.14;
  width: 371px;
  flex-shrink: 0;
}

.pov-updates {
  flex: 1;
  padding-top: 7px;
}

.update-row {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 60px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.update-row.last {
  border-bottom: none;
}

.update-tag {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.15;
  padding-top: 2px;
}

.update-body p {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  line-height: 1.15;
}

.update-body p strong {
  font-weight: 700;
}

.update-body .upper {
  text-transform: uppercase;
}

/* ==============================
   TESTIMONIALS
============================== */
.testimonials-section {
  margin-top: 120px;
}

.testimonials-heading {
  font-size: 32px;
  font-weight: 400;
  color: #000;
  text-align: center;
  letter-spacing: -0.64px;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 693px 693px;
  gap: 13px;
  padding: 0 20px;
}

.testimonial-card {
  position: relative;
  height: 265px;
  border-radius: 20px;
  overflow: hidden;
}

.testimonial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  position: absolute;
  inset: 0;
  padding: 34px 48px 26px 38px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 12px;
}

.quote-mark {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 23px;
  margin-top: 6px;
}

.testimonial-text {
  grid-column: 2;
  grid-row: 1;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.44px;
  text-align: left;
}

.testimonial-cite {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-top: 12px;
  text-align: left;
}

/* ==============================
   CONTACT FORM
============================== */
.contact-section {
  margin: 120px 20px 0;
  padding: 60px 80px;
}

.contact-heading {
  font-size: 48px;
  font-weight: 400;
  color: #000;
  letter-spacing: -0.96px;
  line-height: 1.1;
  margin-bottom: 12px;
  text-align: center;
}

.contact-sub {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
  margin-bottom: 48px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 740px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  letter-spacing: 0;
}

.form-field input,
.form-field textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  background: transparent;
  border: none;
  border-bottom: 1px solid #000;
  padding: 10px 0;
  outline: none;
  width: 100%;
  resize: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: #0014ff;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.form-actions .btn-submit,
.form-actions .btn-whatsapp {
  width: 210px;
  max-width: 100%;
  height: 55px;
  font-size: 20px;
  letter-spacing: 0;
  padding: 0;
  justify-content: center;
  text-align: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  letter-spacing: -0.48px;
  line-height: 1.4;
  border: 1px solid #000;
  background: #fff;
  height: 62px;
  padding: 0 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #0014ff;
  color: #fff;
}

.form-success {
  display: none;
  font-size: 16px;
  font-weight: 700;
  color: #0014ff;
  margin-top: 8px;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background: #0014ff;
  margin: 0 20px;
  border-radius: 20px 20px 0 0;
  padding: 25px 25px 0;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 100px;
}

.footer-col {}

.footer-headline {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-contact {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}

.footer-links p {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-arrow {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

.substack-link {
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #000;
  transition: opacity 0.2s;
}

.substack-link:hover {
  color: #0014ff;
  border-bottom-color: #0014ff;
  opacity: 1;
}

.update-body--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.update-body--link:hover {
  color: #0014ff;
  opacity: 1;
}

.footer-copyright p {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  text-align: right;
}

.footer-logo-wrap {
  width: 100%;
}

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1350 / 186; /* the SVG's intrinsic ratio is wrong (2:1); enforce design ratio */
  object-fit: contain;
  object-position: left bottom;
}

/* Mobile/desktop image swap utility (paired with responsive.css) */
.img-mobile-only { display: none; }

/* Anchor navigation (e.g. /#contact coming from another page) */
html { scroll-behavior: smooth; }
#contact { scroll-margin-top: 100px; }
@media (max-width: 767px) { #contact { scroll-margin-top: 60px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
