/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  /* background-color: antiquewhite; */
  min-height: 100vh;
}

/* ===============================
   H1 → TOP LEFT
================================ */
.dz-hero-heading {
  position: absolute;
  top: 6rem;
  left: 2rem;
  right: 2rem;

  /* left + right already inset it 2rem a side — don't also ask for 100% */
  width: min(1100px, calc(100% - 4rem));
  max-width: calc(100% - 4rem);
  font-family: var(--dz-font-display);
  font-size: var(--dz-hero-size);
  line-height: var(--dz-hero-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* ===============================
   PARAGRAPH → BOTTOM LEFT
================================ */
.dz-hero-paragraph {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;

  width: min(450px, calc(100% - 4rem));
  max-width: 100%;
  font-size: 1.1rem;
  line-height: 1.4;
  color: rgba(var(--dz-fg-rgb), calc(0.75 + var(--dz-text-lift)));
  overflow-wrap: break-word;
}

/* Hidden until js/text-animation.js has split them into masked lines —
   otherwise the finished text shows for a moment before the reveal.
   The delayed animation is a safety net in case the script never runs. */
.dz-hero-heading:not([data-reveal-done]),
.dz-hero-paragraph:not([data-reveal-done]) {
  visibility: hidden;
  animation: dz-hero-reveal-fallback 0s linear 3s forwards;
}

@keyframes dz-hero-reveal-fallback {
  to { visibility: visible; }
}

/* ===============================
   SCROLL ARROW → BOTTOM CENTER
================================ */
.hero-scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  /* z-index: 5; */
}

.hero-scroll-arrow img {
  width: 28px;
  height: auto;
  display: block;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* ===============================
   SCROLL BOUNCE ANIMATION
================================ */
@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}


/* ===============================
   VIDEO – DESKTOP (DEFAULT)
================================ */
.video-box {
  position: absolute;
  width: 320px;
  height: 180px;
  top: 69.7vh;
  right: 2.7rem;
  overflow: hidden;
  /* border-radius: 5px; */
  transform-origin: bottom right;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PLAY / PAUSE — round button in the video's bottom-right corner.
   Rides along as the box grows to full screen, but keeps the same
   size and the same gap from the corner throughout. */
.video-toggle {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 10px;

  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;

  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;

  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.video-toggle i {
  display: block;
  font-size: 16px;
  line-height: 1;
}

.video-toggle:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.3);
}

.video-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}


/* NEXT SECTION */
.video-scroll {
  height: 69vh;
}


/* The spacer gives the reel room to finish growing to full screen
   before About arrives. js/home.js runs that grow animation from
   1025px up, so the spacer exists from 1025px up. Phones and tablets
   (≤1024px) have a static reel and no spacer. */
@media (max-width: 1024px) {
  .video-scroll {
    display: none;
  }
}


/* ===============================
   ABOUT SECTION
================================ */
.about {
  /* display: flex; */
  height: 100vh;
  /* width: 100%; */
  align-content: center;

  /* divider between About and the brand showcase below — full-bleed,
     colour from --dz-divider in main.css */
  border-bottom: 1px solid var(--dz-divider);
}

/* Sticky container */
.about-col {
  position: sticky;
  height: 100vh;
  /* top · sides · bottom */
  padding: 45px 2rem 2rem;
  display: flex;
  /* justify-content: space-around; */
  gap: 5vw;
}

/* Animated box */
.image-box {
  width: 40%;
  height: 0;
  /* Start from zero */
  overflow: hidden;
  /* border-radius: 7px; */
}

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

/* ===============================
   CONTENT
================================ */
.about-content {
  color: var(--dz-fg);
  align-content: center;
}

.about-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: calc(0.7 + var(--dz-text-lift));
  margin-bottom: 1rem;
}

.dz-about-heading {
  position: static; /* 🔥 reset */
  top: auto;
  left: auto;
  max-width: 1000px;

  font-family: var(--dz-font-display);
  font-size: var(--dz-section-size);
  line-height: var(--dz-section-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);

  /* gap to the Learn More button below */
  margin-bottom: 2rem;
}

/* .about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #bdbdbd;
  margin-bottom: 32px;
  margin-right: 100px;
} */

/* ===============================
   TEXT BUTTON
================================ */

/* "Learn More" and "View All Works". Behaviour is the shared
   .dz-text-btn component in /css/components.css; the type below is
   deliberately identical to the footer's "Start Project" button
   (see .button-footer in /css/footer.css), so the three read as one
   button. Only the top padding is local — it is spacing within the
   about / selected-work sections, not part of the button. */
.button-about {
  padding-top: 15px;
  font-size: 18px;
  font-weight: var(--dz-medium-weight);
  color: var(--dz-fg);
}

/* in About the heading's margin carries the whole 2rem gap */
.about .button-about {
  padding-top: 0;
}





/* ===============================
   BRAND SHOWCASE SECTION
=================================*/

.brand-showcase {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  /* divider between the logo marquee and Services below — same as About */
  border-bottom: 1px solid var(--dz-divider);
  /* border-top: 1px solid rgba(255, 255, 255, 0.15); */
}

.brand-text-content {
  max-width: 70%;
  height: 30vh;
  padding: 2rem;
  text-align: center;
}

.brand-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: calc(0.7 + var(--dz-text-lift));
  margin-bottom: 1rem;
}

.brand-text-content h2 {
  max-width: 1900px;
}

.dz-brand-heading {
  font-family: var(--dz-font-display);
  font-size: var(--dz-section-size);
  line-height: var(--dz-section-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);
  position: static;
  top: auto;
  left: auto;
}

.marquee-logos {
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.marquee {
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  height: 120px;

  position: relative;
  /* REQUIRED for fade */
}

.marquee-track1,
.marquee-track2 {
  display: flex;
  align-items: center;
  gap: 15vw;
  width: max-content;
}

.marquee img {
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: 0.3s ease;
}

.marquee img:hover {
  opacity: 0.7;
}

.liva {
  height: 60px;
}

.enbd {
  height: 50px;
}

.syntix {
  height: 45px;
}

.taj {
  height: 70px;
}

.finjuris {
  height: 60px;
}

.omis {
  height: 55px;
}

.pvep {
  height: 50px;
}

.max {
  height: 50px;
}

.aramex {
  height: 30px;
}

.cnn {
  height: 55px;
}

/* Edge fade for brand logos */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 360px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Left fade */
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}

/* Right fade */
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}


/* ===============================
   SELECTED WORK SECTION
================================ */
.selected-work {
  width: 100%;
  min-height: 70vh;
  position: relative;
  /* IMPORTANT */
  /* background: #7c1111; */
  color: var(--dz-fg);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  /* breathing space */
}

.container {
  width: 97%;
  max-width: none;
  /* remove restriction */
  margin: 0 auto;
}

/* Small top label */
.tag {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: calc(0.7 + var(--dz-text-lift));
  /* margin-bottom: 1rem; */
}

/* Big paragraph */
.dz-behindwork-heading {
  font-family: var(--dz-font-display);
  font-size: var(--dz-section-size);
  line-height: var(--dz-section-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);
  margin-bottom: 13rem;
}

/* Bottom wrapper */
.bottom {
  margin-top: auto;
  align-items: center;
}

/* Selected Work title */
.selected-title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: var(--dz-regular-weight);
  color: var(--dz-fg);
  letter-spacing: -0.5px;
  /* margin-bottom: 40px; */
}

/* Bottom-left container */
.work-bottom {
  position: absolute;
  bottom: 40px;
  right: 2%;
  /* match your container padding */
}



/* =========================
   SERVICES SECTION
========================= */
.services {
  height: 100vh;
  background: var(--dz-bg);
  overflow: hidden;
}

/* INTRO */
.services-intro {
  height: 40vh;
  padding: 2rem;
}

.services-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: calc(0.7 + var(--dz-text-lift));
  margin-bottom: 1rem;
}

.dz-services-heading {
  font-family: var(--dz-font-display);
  font-size: var(--dz-section-size);
  line-height: var(--dz-section-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);

  max-width: 2200px;
}

.services-heading.ad-text-animation-heading {
  position: static;  /* 🔥 reset */
  top: auto;
  left: auto;
}

/* =========================
   ROW
========================= */
.services-content {
  position: relative;
  height: 60vh;
  overflow: hidden;
  /* display: flex; */
  border-top: 1px solid rgba(var(--dz-fg-rgb), 0.15);
  border-bottom: 1px solid rgba(var(--dz-fg-rgb), 0.15);
}

/* =========================
   CARD BASE
========================= */

.tca-card {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35vw;
  padding: 2rem;
  background: var(--dz-bg);
  border-right: 1px solid rgba(var(--dz-fg-rgb), 0.12);
  border-left: 1px solid rgba(var(--dz-fg-rgb), 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card__header {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.service-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card__label {
  font-family: "degular", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: calc(0.9 + var(--dz-text-lift));
}

.service-card__icon {
  width: 45px;
  height: auto;
  opacity: 0.9;
}

/* BIG SHORT TITLE */
.service-card__title {
  position: relative;
  display: flex;
  right: 0;
  margin-top: -50px;
  font-size: 150px !important;
  font-weight: var(--dz-heading-weight);
}

/* ===============================
   DESCRIPTION
================================ */

.service-card__desc {
  margin-top: auto;
  max-width: 500px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(var(--dz-fg-rgb), calc(0.7 + var(--dz-text-lift)));
}

/* DEPTH */
.card-1 {
  z-index: 1;
  border-left: none !important;
}

.card-2 {
  z-index: 2;
}

.card-3 {
  z-index: 3;
}

.card-4 {
  z-index: 4;
}

.card-5 {
  width: 45vw !important;
  z-index: 5;
}

/* =========================
   CTA SECTION
========================= */

.cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

/* Title */
.cta-title {
  font-size: 8rem;
  font-weight: var(--dz-heading-weight);
  letter-spacing: -0.02em;
}

/* Description */
.cta-desc {
  max-width: 480px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(var(--dz-fg-rgb), calc(0.7 + var(--dz-text-lift)));
}

/* Button wrapper */
.cta-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Base button */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: var(--dz-medium-weight);
  letter-spacing: 0.02em;
  text-decoration: none;
  /* border-radius: 999px; */
  border: 1px solid rgba(var(--dz-fg-rgb), 0.2);
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease;
}

/* Primary */
.cta-btn.primary {
  background: var(--dz-fg);
  color: var(--dz-bg);
  border-color: var(--dz-fg);
}

/* Secondary */
.cta-btn.secondary {
  background: transparent;
  color: var(--dz-fg);
}

/* Hover */
.cta-btn:hover {
  transform: translateY(-1px);
}

/* Hover states */
/* .cta-btn.primary:hover {
  background: rgba(255, 255, 255, 0.9);
} */

/* .cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
} */

/* Active */
.cta-btn:active {
  transform: translateY(0);
}

/* Focus (accessibility) */
.cta-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--dz-fg-rgb), 0.4);
}



/* full-bleed project photos with titles, badge and scroll hint on top —
   stays black and white in both themes */
.portfolio-area {
  background: #000;
  color: #fff;
  position: relative
}

.dz-stack-cards {
  height: 100vh;
  width: 100%;
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  background: #000;
}

.dz-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* project title on the photo — white in both themes (the global h2
   rule would otherwise give it the dark light-mode ink) */
.dz-content h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: var(--dz-regular-weight);
  letter-spacing: 0px;
  color: #fff;
}

.dz-meta {
  display: flex;
  gap: 80px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}



/* Card artwork is injected as a real <img class="dz-card__img"> by
   js/home.js so the browser composites it on its own layer — the
   sticky-stacked scroll stays smooth instead of repainting a cover
   background every frame. */
.dz-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Badge initially absolute */
.project-badge {
  position: absolute;
  top: 90vh;
  left: 1%;
  width: 120px;
  height: 60px;
  /* border-radius: 999px; */
  /* border: 1px solid rgb(255, 255, 255); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* backdrop-filter:blur(1px); */
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  opacity: 1;
}

.project-badge.fixed {
  position: fixed;
}


.project-badge.at-end {
  position: absolute;
  top: auto;
  bottom: 1%;
}


.project-badge.hidden {
  opacity: 0;
}

.badge-label {
  font-size: 11px;
  font-weight: var(--dz-medium-weight);
  letter-spacing: 2px;
  opacity: .5;
  margin-bottom: 8px
}

.badge-current {
  position: relative;
  left: 2px;
  width: 30px;
  /* 👈 ADD THIS */
  height: 26px;
  overflow: hidden;
  display: block;
  /* 👈 CHANGE THIS */
}

.counter-value {
  position: absolute;
  inset: 0;
  display: flex;
  /* 👈 USE FLEX CENTERING */
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.badge-counter {
  display: flex;
  gap: 10px;
  font-size: 22px
}

.badge-total {
  opacity: .6
}

.scroll-indicator {
  position: absolute;
  top: 95vh;
  /* 🔥 SAME AS BADGE */
  right: 1.5%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1000;
}

.scroll-indicator.fixed {
  position: fixed;
  top: 95vh;
  /* 🔥 IMPORTANT — keep same top */
  right: 1.5%;
}

.scroll-indicator.at-end {
  position: absolute;
  top: auto;
  bottom: 1%;
  right: 1.5%;
}

.scroll-arrow {
  width: 14px;
}




/* ============================================================
   PROCESS SECTION  —  interactive bento
   2 rows x 3 columns of process cards, 2rem side gutters; on
   desktop the section is one screen tall. Hover / tap / focus a
   card and it brightens, draws a white underline, and the other
   cards dim — sizes never change. Motion knobs (--pb-*) are pushed
   in from /js/process-animations.js.  Black / white / muted-gray,
   orange only on the active card's number.
   ============================================================ */

.process-section{
  background:var(--dz-bg);
  padding: clamp(5rem, 12vh, 9rem) 0;

  /* divider between Process and Testimonials below — same as About */
  border-bottom: 1px solid var(--dz-divider);
}

.process-container{
  width:100%;
  margin:0;
  padding:0 2rem;   /* 2rem side gutters, full-bleed otherwise */
}

.process-header{
  margin-bottom: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.process-eyebrow{
  margin-bottom:1.4rem;
}

.dz-proc-heading{
  margin:0 auto;
  max-width:1400px;

  font-family: var(--dz-font-display);
  font-size: var(--dz-section-size);
  line-height: var(--dz-section-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);
}


/* ---- Bento grid ---- */

.process-bento{
  --pb-duration: 550ms;
  --pb-ease: cubic-bezier(0.22, 1, 0.36, 1);

  display:flex;
  flex-direction:column;
  gap: clamp(1.1rem, 1.8vw, 1.75rem);
}

/* 2 rows x 3 equal columns — cards keep their size on hover; only
   border and text colour change. On desktop the rows stretch to fill
   the screen (see the block below the card rules). */
.process-row{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(1.1rem, 1.8vw, 1.75rem);
  min-height: clamp(260px, 32vh, 380px);
}


/* ---- Card ---- */

.process-card{
  position:relative;

  display:flex;
  flex-direction:column;
  align-items:flex-start;

  min-width:0;
  min-height:0;

  padding: clamp(1.75rem, 3vw, 3.25rem);

  border:1px solid rgba(var(--dz-fg-rgb), .1);
  /* border-radius:12px; */
  background:var(--dz-bg);

  cursor:pointer;
  -webkit-tap-highlight-color: transparent;

  transition: border-color var(--pb-duration) var(--pb-ease);
}

/* white underline on the active card — sits on top of the bottom
   border, draws in left → right and leaves to the right */
.process-card::after{
  content:"";
  position:absolute;
  left:-1px;
  right:-1px;
  bottom:-1px;
  height:2px;

  background:var(--dz-fg);
  pointer-events:none;

  transform:scaleX(0);
  transform-origin:right center;
  transition: transform var(--pb-duration) var(--pb-ease);
}

.process-card.is-active::after{
  transform:scaleX(1);
  transform-origin:left center;
}

.process-card:focus-visible{
  outline:2px solid #FF6500;
  outline-offset:3px;
}

.process-card.is-active{
  border-color: rgba(var(--dz-fg-rgb), .28);
}

.process-bento[data-active] .process-card:not(.is-active){
  border-color: rgba(var(--dz-fg-rgb), .06);
}

.process-card__num{
  font-family:"Courier New", monospace;
  font-size:.75rem;
  letter-spacing:.15em;
  color: rgba(var(--dz-fg-rgb), calc(.35 + var(--dz-text-lift)));

  transition: color var(--pb-duration) var(--pb-ease);
}

.process-card.is-active .process-card__num{
  color:#FF6500;
}

.process-card__title{
  margin: clamp(1.4rem, 3vw, 2.25rem) 0 clamp(.9rem, 1.6vw, 1.25rem);

  font-family:"degular", sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.75rem);
  font-weight:var(--dz-heading-weight);
  line-height:1.05;
  letter-spacing:-0.02em;
  color: rgba(var(--dz-fg-rgb), calc(.9 + var(--dz-text-lift)));

  transition: color var(--pb-duration) var(--pb-ease);
}

.process-card.is-active .process-card__title{
  color:var(--dz-fg);
}

.process-bento[data-active] .process-card:not(.is-active) .process-card__title{
  color: rgba(var(--dz-fg-rgb), calc(.5 + var(--dz-text-lift)));
}

.process-card__desc{
  margin:0;
  max-width:44ch;

  font-size:.95rem;
  line-height:1.7;
  color: rgba(var(--dz-fg-rgb), calc(.42 + var(--dz-text-lift)));

  transition: color var(--pb-duration) var(--pb-ease);
}

.process-card.is-active .process-card__desc{
  color: rgba(var(--dz-fg-rgb), calc(.72 + var(--dz-text-lift)));
}

.process-bento[data-active] .process-card:not(.is-active) .process-card__desc{
  color: rgba(var(--dz-fg-rgb), calc(.28 + var(--dz-text-lift)));
}


/* ---- Desktop: the section is exactly one screen tall ----
   Header takes its natural height; the two card rows split what is
   left. Spacing scales with the screen height so the cards' text still
   fits on short laptop screens — and if a screen is too short even so,
   min-height lets the section grow rather than clip the text. */

@media (min-width: 1081px){

  .process-section{
    display:grid;              /* its one row stretches to min-height */
    min-height:100vh;
    padding: clamp(1.5rem, 5vh, 5rem) 0;
  }

  .process-container{
    display:grid;
    grid-template-rows: auto 1fr;   /* header, then the cards */
  }

  .process-header{
    margin-bottom: clamp(1rem, 3.5vh, 3rem);

    /* eyebrow -> heading gap (read by .dz-eyebrow in components.css) */
    --dz-eyebrow-gap: clamp(.75rem, 2.2vh, 1.25rem);
  }

  .process-row{
    flex: 1 1 0;               /* both rows share the height equally */
    min-height:auto;           /* …but never shorter than their text */
  }

  .process-card{
    padding: clamp(1.25rem, min(3vw, 4vh), 3.25rem);
  }

  .process-card__title{
    margin:
      clamp(.75rem, min(3vw, 3vh), 2.25rem)
      0
      clamp(.6rem, min(1.6vw, 2vh), 1.25rem);
  }
}


/* ---- Tablet: rows dissolve into a static 2-up grid ---- */

@media (max-width: 1080px){

  .process-bento{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(clamp(220px, 34vw, 300px), auto);
  }

  .process-row{
    display: contents;   /* the 6 cards flow straight into the grid */
  }
}


/* ---- Mobile: single-column vertical accordion ---- */

@media (max-width: 1024px){

  .process-bento{
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .process-card__desc{
    max-height:0;
    margin-top:0;
    opacity:0;
    overflow:hidden;

    transition:
      max-height var(--pb-duration) var(--pb-ease),
      margin-top var(--pb-duration) var(--pb-ease),
      opacity calc(var(--pb-duration) * .7) var(--pb-ease),
      color var(--pb-duration) var(--pb-ease);
  }

  .process-card.is-active .process-card__desc{
    max-height:20rem;
    margin-top:1.1rem;
    opacity:1;
  }
}


/* ---- Reduced motion: instant state ---- */

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

  .process-card,
  .process-card *,
  .process-card::after{
    transition-duration:.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1024px){

  .process-card__desc{
    max-height:none !important;
    margin-top:1.1rem !important;
    opacity:1 !important;
  }
}


/* =========================
   TESTIMONIALS SECTION
========================= */

.testimonials-section {
  padding: 120px 0;
  overflow: hidden;

  /* divider between Testimonials and the footer below — same as About */
  border-bottom: 1px solid var(--dz-divider);
}

/* Heading */
.brands-text-content {
  text-align: center;
  margin-bottom: 40px;
}

.brands-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: calc(0.7 + var(--dz-text-lift));
}

.dz-testimonials-heading {
  font-family: var(--dz-font-display);
  font-size: var(--dz-section-size);
  line-height: var(--dz-section-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);
  margin-top: 10px;
}

/* Wrapper */
.testimonial-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Marquee */
.testimonial-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  contain: layout style paint;
}

.testimonial-track {
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
}

/* Card */
.testimonial-card {
  width: 420px;
  min-height: 260px;
  flex-shrink: 0;
  padding: 30px;
  /* border-radius: 15px; */
  background: rgba(var(--dz-fg-rgb), 0.04);
  border: 1px solid rgba(var(--dz-fg-rgb), 0.08);
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(var(--dz-fg-rgb), 0.2);
}



/* Quote */
.quote-icon img {
  width: 28px;
  opacity: 0.4;
}

/* Text */
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 10px;
}

/* Client */
.client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.client img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

/* the name was an <h4>, whose browser default is 1em; it is an <h3> now (heading order),
   whose default would be larger — keep the original size */
.client h3 {
  font-size: 1em;
}

/* Edge Fade */
.testimonial-marquee::before,
.testimonial-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}


/* ==========================================================
   PHONE  (≤ 767px)
   Tablet and desktop are untouched. On a phone the home page
   becomes one vertical story with a shared rhythm (tokens in
   main.css): every section has the 1.25rem gutter and the same
   top/bottom padding.

   · Hero      — headline, intro, then the reel as a 16:9 card
                 resting on the bottom of the first screen.
   · About     — copy first, the photo below as a 4:5 plate that
                 wipes open as it scrolls in (js/home.js).
   · Brands    — smaller logos, tighter gaps, short edge fades.
   · Services  — the desktop's sliding accordion turned on its
                 side: the four cards stack as a sticky deck and
                 each one leaves its title showing as a tab.
   · Work      — full-screen stacked cards with a legible title,
                 the meta wrapped under it and a "View project" tag.
   · Process   — a numbered list; tap a step to open it.
========================================================== */
@media (max-width: 1024px) {

  /* ---------- HERO ---------- */
  .hero {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(64px + 1.75rem) var(--dz-gutter) var(--dz-gutter);
  }

  .hero-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;          /* a flex item never shrinks below its longest word otherwise */
  }

  .dz-hero-heading,
  .dz-hero-paragraph {
    position: static;
    right: auto;
    width: 100%;
  }

  .dz-hero-heading {
    /* Keep the statement readable without producing isolated words on
       narrow phones. The clamp also scales continuously between phones
       and small tablets. */
    max-width: 24ch;
    font-size: clamp(2.1rem, 10.5vw, 4.5rem);
    line-height: 0.98;
  }

  .dz-hero-paragraph {
    max-width: 42ch;
    margin: 1.5rem 0 2rem;
    font-size: clamp(0.95rem, 3.7vw, 1.1rem);
    line-height: 1.55;
  }

  /* the reel itself is the cue to scroll on a phone */
  .hero-scroll-arrow {
    display: none;
  }

  /* grows into whatever the first screen has left — never shorter
     than 16:9, never taller than square (the reel keeps its centre) */
  .video-box {
    position: relative;
    top: auto;
    right: auto;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: calc((100vw - 2 * var(--dz-gutter)) * 9 / 16);
    max-height: calc(100vw - 2 * var(--dz-gutter));
    margin-top: auto;
  }

  /* ---------- ABOUT ---------- */
  .about {
    height: auto;
    align-content: normal;
  }

  .about-col {
    position: static;
    height: auto;
    flex-direction: column;
    gap: 2.5rem;
    padding: var(--dz-section-py) var(--dz-gutter);
  }

  .about-content {
    order: 1;
  }

  .dz-about-heading {
    margin-bottom: 1.75rem;
  }

  .image-box {
    order: 2;
    width: 100%;
    height: auto;
  }

  .image-box img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  /* ---------- BRAND SHOWCASE ---------- */
  .brand-showcase {
    height: auto;
    padding: var(--dz-section-py) 0;
  }

  .brand-text-content {
    max-width: none;
    height: auto;
    padding: 0 var(--dz-gutter);
    margin-bottom: 2.5rem;
  }

  .marquee-logos {
    height: auto;
    gap: 1.5rem;
  }

  .marquee {
    height: 64px;
  }

  .marquee-track1,
  .marquee-track2 {
    gap: 3.25rem;
  }

  .marquee .liva     { height: 36px; }
  .marquee .enbd     { height: 30px; }
  .marquee .syntix   { height: 27px; }
  .marquee .taj      { height: 42px; }
  .marquee .finjuris { height: 36px; }
  .marquee .omis     { height: 33px; }
  .marquee .pvep     { height: 30px; }
  .marquee .max      { height: 30px; }
  .marquee .aramex   { height: 18px; }
  .marquee .cnn      { height: 33px; }

  .marquee::before,
  .marquee::after {
    width: 3.5rem;
  }

  /* ---------- SERVICES — sticky deck ----------
     Each card sticks a tab-height lower than the one before, so as
     the next card slides up over it, only its title row stays in
     view. The CTA is the fifth card and stacks the same way; a short
     hold space after it keeps the full stack on screen for a moment,
     then the whole deck leaves together when the list ends. */
  .services {
    height: auto;
    overflow: visible;
  }

  .services-intro {
    height: auto;
    padding: var(--dz-section-py) var(--dz-gutter) 2.5rem;
  }

  .services-content {
    --deck-top: 1.25rem;    /* where the first card sticks */
    --deck-tab: 3.75rem;    /* the strip each card leaves showing */
    --deck-h: min(25rem, 64svh);   /* every card's height */

    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
    border-bottom: 0;
    counter-reset: svc;
  }

  /* a sticky card can only stay stuck while there is room left in its
     container, and the last card has none — so give the deck a hold
     space after the CTA. Every card's bottom is pinned to the
     container's end, so they all leave together once it scrolls past */
  .services-content::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    height: var(--deck-hold, 30svh);
  }

  .tca-card {
    position: sticky;
    top: calc(var(--deck-top) + var(--deck-i, 0) * var(--deck-tab));
    width: 100% !important;
    height: auto;
    min-height: var(--deck-h);
    padding: 0 var(--dz-gutter) 1.75rem;

    /* When the deck leaves, a sticky card is held inside its container
       by its margin box, so every card's bottom meets the container's
       end. A bottom margin of one tab per step makes each earlier card
       leave one tab higher than the next, so the tab strips keep their
       spacing and the stack goes as one piece — without making any card
       taller (that opened a gap between the icon and the title). The
       matching negative top margin cancels the extra flow spacing. */
    margin-bottom: calc((4 - var(--deck-i, 4)) * var(--deck-tab));
    margin-top: calc((var(--deck-i, 4) - 5) * var(--deck-tab));

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: var(--deck-tab) auto 1fr auto;
    column-gap: 1rem;

    border-left: 0 !important;
    border-right: 0;
    border-top: 1px solid rgba(var(--dz-fg-rgb), 0.14);
    counter-increment: svc;
  }

  .card-1 { --deck-i: 0; margin-top: 0; }
  .card-2 { --deck-i: 1; }
  .card-3 { --deck-i: 2; }
  .card-4 { --deck-i: 3; }
  .card-5 { --deck-i: 4; }

  /* the header and its meta column dissolve so label, icon and
     title can each take a cell of the card's grid */
  .tca-card .service-card__header,
  .tca-card .service-card__meta {
    display: contents;
  }

  .service-card__label {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-size: 1.35rem;
  }

  /* "01 / 04" on the right of the tab */
  .tca-card:not(.cta)::after {
    content: counter(svc, decimal-leading-zero) " / 04";
    grid-column: 2;
    grid-row: 1;
    align-self: center;

    font-family: var(--dz-font-body);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: rgba(var(--dz-fg-rgb), calc(0.45 + var(--dz-text-lift)));
  }

  .service-card__icon {
    grid-column: 1;
    grid-row: 2;
    width: 34px;
    margin-top: 0.5rem;
  }

  .service-card__title {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: end;
    right: auto;
    margin: 1.5rem 0 0;
    font-size: clamp(5.5rem, 30vw, 8rem) !important;
    line-height: 0.85;
    letter-spacing: -0.03em;
  }

  .service-card__desc {
    grid-column: 1 / -1;
    grid-row: 4;
    max-width: 34ch;
    margin-top: 1.25rem;
    font-size: 1rem;
  }

  /* the CTA stacks in the fifth slot. On a short screen its slot would
     push the buttons off the bottom, so it never sticks lower than its
     own height (~27rem) leaves room for */
  .card-5.cta {
    position: sticky;
    top: min(
      calc(var(--deck-top) + var(--deck-i) * var(--deck-tab)),
      calc(100svh - 27rem)
    );
    width: 100% !important;
    min-height: var(--deck-h);
    display: flex;
    justify-content: flex-start;
    gap: 1.25rem;
    padding: 3rem var(--dz-gutter) 2.5rem;
  }

  .cta-title {
    font-size: clamp(3rem, 15vw, 4rem);
    line-height: 1;
  }

  .cta-desc {
    font-size: 1rem;
  }

  .cta-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
  }

  .cta-btn {
    width: 100%;
    padding: 1.05rem 1.25rem;
  }

  /* ---------- SELECTED WORK INTRO ---------- */
  .selected-work {
    min-height: 0;
    padding: var(--dz-section-py) var(--dz-gutter) 2.25rem;
  }

  /* heading across the top; title and link share the last row */
  .selected-work .container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 1rem;
  }

  .selected-work .container > :first-child {
    grid-column: 1 / -1;
  }

  .dz-behindwork-heading {
    margin-bottom: 3.5rem;
  }

  .selected-title {
    font-size: 2rem;
    line-height: 1;
  }

  .work-bottom {
    position: static;
  }

  .work-bottom .button-about {
    padding-top: 0;
    font-size: 16px;
  }

  /* ---------- PORTFOLIO — stacking project cards ----------
     Phones and tablets get a sticky deck: the cards live in one
     container (.portfolio-area), every card sticks at the same spot,
     and the next card slides up and fully covers the one before it.
     Each card is a framed photo plus a bordered details panel (title,
     tags, "view project"); the whole card is a link (js/home.js). A
     hold space after the last card keeps it on screen for a moment,
     then the deck leaves together. The fixed counter and scroll hint
     belong to the desktop slide show, so they are hidden here. */
  .portfolio-area {
    --pf-top: 1.25rem;     /* where the first card sticks */
    --pf-tab: 0px;         /* 0 = each card fully covers the one before; raise it to leave a strip showing */

    display: flex;
    flex-direction: column;
    padding: 1.5rem var(--dz-gutter) var(--dz-section-py);
    counter-reset: proj;
  }

  /* a sticky card can only stay stuck while there is room left in its
     container, and the last card has none — give the deck a hold space */
  .portfolio-area::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    height: var(--pf-hold, 30svh);
  }

  .project-badge,
  .scroll-indicator {
    display: none;
  }

  .dz-stack-cards {
    position: sticky;
    top: calc(var(--pf-top) + var(--pf-i, 0) * var(--pf-tab));
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    /* the photo and the text share this one inset from the frame, so
       their left and right edges line up */
    --pf-inset: 1.1rem;
    padding: var(--pf-inset);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: #000;              /* covers the card it slides over */
    counter-increment: proj;

    /* when the deck leaves, a sticky card is held inside its container
       by its margin box, so every card's bottom meets the container's
       end. A bottom margin of one step per card makes each earlier card
       leave one step higher than the next (the strips keep their
       spacing and the stack goes as one piece); the matching negative
       top margin cancels the extra flow spacing. */
    margin-bottom: calc((3 - var(--pf-i, 3)) * var(--pf-tab));
    margin-top: calc((var(--pf-i, 3) - 4) * var(--pf-tab));
  }

  .dz-stack-cards.card1 { --pf-i: 0; margin-top: 0; }
  .dz-stack-cards.card2 { --pf-i: 1; }
  .dz-stack-cards.card3 { --pf-i: 2; }
  .dz-stack-cards.card4 { --pf-i: 3; }

  .dz-stack-cards:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 6px;
  }

  /* the photo (injected as the card's first child by js/home.js) */
  .dz-card__img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    /* 4:5, but never so tall that the card (photo + panel + frame)
       runs off the bottom of the screen once it is stuck */
    height: max(12rem, min(calc((100vw - 2 * var(--dz-gutter) - 2 * var(--pf-inset, 1.1rem) - 2px) * 1.25), calc(100svh - 16.5rem)));
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }

  /* "01 / 04" chip on the photo */
  .dz-stack-cards::before {
    content: counter(proj, decimal-leading-zero) " / 04";
    position: absolute;
    top: calc(var(--pf-inset, 1.1rem) + 0.6rem);
    left: calc(var(--pf-inset, 1.1rem) + 0.6rem);
    z-index: 2;
    padding: 0.4rem 0.65rem;

    font-family: var(--dz-font-body);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.14em;
    color: #fff;

    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: none;
  }

  /* the details sit in their own panel under the photo:
     title, tags, then a "view project" line (touch has no hover
     bubble, so the card says it opens) */
  .dz-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.9rem;
    padding: 1.25rem 0 0.15rem;
    border: 0;
    border-radius: 0;
  }

  .dz-content h2 {
    grid-column: 1;
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.05;
  }

  .dz-content::after {
    content: "VIEW PROJECT  \2192";
    grid-column: 1;
    padding-top: 0.2rem;

    font-family: var(--dz-font-body);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.16em;
    color: #fff;
  }

  .dz-meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.5rem;
    /* room for two rows of tags on every card, so all four cards are
       the same height (the deck's exit relies on that) */
    min-height: 3.75rem;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .dz-meta span {
    padding: 0.4rem 0.7rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  /* ---------- PROCESS — numbered list, tap to open ---------- */
  .process-section {
    padding: var(--dz-section-py) 0;
  }

  .process-container {
    padding: 0 var(--dz-gutter);
  }

  .process-header {
    margin-bottom: 2.25rem;
  }

  .process-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0;
    border-top: 1px solid rgba(var(--dz-fg-rgb), 0.12);
  }

  .process-card {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    align-items: baseline;
    padding: 1.35rem 0;
    border: 0;
    border-bottom: 1px solid rgba(var(--dz-fg-rgb), 0.12);
  }

  .process-card__num {
    grid-column: 1;
    grid-row: 1;
  }

  .process-card__title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 1.6rem;
  }

  /* + turns to × on the open step */
  .process-card::before {
    content: "+";
    grid-column: 3;
    grid-row: 1;
    font-size: 1.5rem;
    font-weight: var(--dz-heading-weight);
    line-height: 1;
    color: rgba(var(--dz-fg-rgb), calc(0.5 + var(--dz-text-lift)));
    transition: transform var(--pb-duration) var(--pb-ease), color var(--pb-duration) var(--pb-ease);
  }

  .process-card.is-active::before {
    transform: rotate(45deg);
    color: var(--dz-fg);
  }

  .process-card__desc {
    grid-column: 2 / -1;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height var(--pb-duration) var(--pb-ease),
      margin-top var(--pb-duration) var(--pb-ease),
      opacity calc(var(--pb-duration) * .7) var(--pb-ease),
      color var(--pb-duration) var(--pb-ease);
  }

  .process-card.is-active .process-card__desc {
    max-height: 20rem;
    margin-top: 0.85rem;
    opacity: 1;
  }

  /* ---------- TESTIMONIALS ---------- */
  .testimonials-section {
    padding: var(--dz-section-py) 0;
  }

  .brands-text-content {
    margin-bottom: 2.5rem;
    padding: 0 var(--dz-gutter);
  }

  .testimonial-wrapper {
    gap: 1rem;
  }

  .testimonial-track {
    gap: 1rem;
  }

  .testimonial-card {
    width: min(80vw, 320px);
    min-height: 0;
    padding: 1.5rem;
  }

  .testimonial-marquee::before,
  .testimonial-marquee::after {
    width: 2.5rem;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .process-card__desc {
    max-height: none;
    margin-top: 0.85rem;
    opacity: 1;
  }
}


/* ==========================================================
   LANDSCAPE TABLETS + SMALL LAPTOPS (1025px – 1279px)
   Phones and tablets (≤1024px) use the plain mobile layout with no
   scroll animation. From 1025px up the desktop choreography runs (pinned
   sections, the reel growing from the corner); its geometry is in vw, so
   on a small laptop everything is narrower than the type was drawn for.
   These rules make the type follow the geometry instead.
========================================================== */

/* HERO — the reel sits at ~8% of its grow animation at rest, so it is
   about 294px + 8vw wide (js/home.js, scrubbed from 320px to 100vw),
   40px in from the right edge. Stop the paragraph short of it. */
@media (min-width: 1025px) and (max-width: 1279px) {
  .dz-hero-paragraph {
    width: min(26rem, calc(92vw - 390px));
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* SERVICES CARDS — each card is 35vw wide and slides over the last,
   leaving a 15vw strip showing. */
@media (min-width: 1025px) {
  .tca-card {
    container-type: inline-size;
  }

  /* the big short title follows its card's width (it was a fixed
     150px, wider than a 223px tablet card) */
  .service-card__title {
    font-size: min(150px, 32cqw) !important;
    margin-top: -0.33em;
  }

  /* the last card ends 5vw past the screen edge — keep its content
     inside the part you can see */
  .card-5.cta {
    padding-right: calc(5vw + 2rem);
  }

  .cta-title {
    /* width follows the visible part of the card, height follows the
       60vh the section gives it (title lines + the rest ≈ 19rem) */
    font-size: clamp(2.5rem, min(6.4vw, calc((60vh - 19rem) / 2.05)), 8rem);
    line-height: 1;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .tca-card {
    padding: 1.5rem;
  }

  .card-5.cta {
    padding-right: calc(5vw + 1.5rem);
    gap: 1rem;
  }

  /* the title shares its row with the label, so it gets less of the card */
  .service-card__title {
    font-size: min(150px, 28cqw) !important;
  }

  /* the label has to fit the 15vw strip that stays visible */
  .service-card__label {
    font-size: clamp(0.8rem, calc((15vw - 3rem) / 5.4), 1.7rem);
  }

  .service-card__desc,
  .cta-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .cta-actions {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .cta-btn {
    padding: 0.8rem 1.25rem;
    white-space: nowrap;
  }
}



/* PORTFOLIO — tablet: the same stacking cards, a larger title */
@media (min-width: 768px) and (max-width: 1024px) {
  .dz-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}
