/* ==========================
   FONTS
========================== */
@font-face {
  font-family: 'Fb Makiato';
  font-weight: 700;
  src: url('../fonts/fbmakiato-boldwebfont.woff') format('woff'),
       url('../fonts/fbmakiato-boldwebfont.ttf') format('truetype');
}

@font-face {
  font-family: 'Ploni ML v2 AAA';
  font-weight: 700;
  src: url('../fonts/ploni-bold-aaa.woff2') format('woff2'),
       url('../fonts/ploni-bold-aaa.woff') format('woff');
}

@font-face {
  font-family: 'Ploni ML v2 AAA';
  font-weight: 400;
  src: url('../fonts/ploni-regular-aaa.woff2') format('woff2'),
       url('../fonts/ploni-regular-aaa.woff') format('woff');
}

/* ==========================
   TOKENS
========================== */
:root {
  --c-purple:  #6653a3;
  --c-yellow:  #ffe500;
  --c-white:   #ffffff;
  --c-beige:   #fbefe1;
  --font-display-he: 'Fb Makiato', sans-serif;
  --font-body-bold:  'Ploni ML v2 AAA', sans-serif;
  --px-page: clamp(24px, 4.44vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--c-beige);
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ==========================
   NAVBAR
========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2.22vw, 32px) var(--px-page);
  pointer-events: none;
}

.navbar__logo {
  pointer-events: all;
  position: relative;
  width: 121px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
}

.navbar__logo-duck {
  position: absolute;
  top: 2.08px;
  left: 0;
  width: 106.686px;
  height: 57.517px;
  display: block;
}

.navbar__logo-text {
  position: absolute;
  top: 0;
  left: 83.84px;
  width: 37.158px;
  height: 44.524px;
  display: block;
}

.navbar__burger {
  pointer-events: all;
  width: clamp(32px, 2.92vw, 42px);
  height: clamp(32px, 2.92vw, 42px);
  border-radius: 50%;
  background: var(--c-yellow);
  border: 2px solid var(--c-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.navbar__burger:hover { transform: scale(1.08); }

.burger-lines {
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.35vw, 5px);
  width: clamp(13px, 1.53vw, 22px);
  align-items: flex-end;
  transition: gap 0.3s;
}

.burger-lines span {
  display: block;
  height: 3px;
  background: var(--c-purple);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: right center;
}

/* Figma: top=12px, mid=22px, bottom=17px out of 22px max */
.burger-lines span:nth-child(1) { width: 54.5%; }
.burger-lines span:nth-child(2) { width: 100%; }
.burger-lines span:nth-child(3) { width: 77.3%; }

.nav-open .burger-lines span { width: 100%; transform-origin: center; }
.nav-open .burger-lines span:nth-child(1) { transform: translateY(calc(100% + clamp(3px, 0.35vw, 5px))) rotate(45deg); }
/* middle line collapses onto the lower diagonal leg instead of fading out */
.nav-open .burger-lines span:nth-child(2) { transform: rotate(-45deg); }
.nav-open .burger-lines span:nth-child(3) { transform: translateY(calc(-100% - clamp(3px, 0.35vw, 5px))) rotate(-45deg); }

/* ==========================
   NAV OVERLAY
========================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--c-purple);
  z-index: 99;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  /* spring "move-in" (≈ stiffness 220 / damping 22 / mass 1) */
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  /* extend the purple left so the spring's slight overshoot never reveals a gap */
  box-shadow: -60vw 0 0 var(--c-purple);
}

.nav-open .nav-overlay { transform: translateY(0); }

.nav-overlay__header {
  /* top spacer ≈ details + bottom ribbon, so links sit with equal padding top/bottom */
  height: clamp(82px, 9vw, 116px);
  flex-shrink: 0;
}

.nav-overlay__links {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nav-overlay__link {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 var(--px-page);
  border-bottom: 1px solid var(--c-white);
  font-family: var(--font-display-he);
  /* (top stroke only on the first row — added below) */
  font-size: clamp(40px, 6.67vw, 96px);
  color: var(--c-white);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.nav-overlay__link:hover {
  background: rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.nav-overlay__sticker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.75);
  height: clamp(80px, 11vw, 150px);
  width: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-overlay__link:hover .nav-overlay__sticker {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* sticker horizontal positions (from Figma: right edge % of 1440px) */
/* stickers tucked closer to the end of each link's text */
.nav-overlay__link:nth-child(1) .nav-overlay__sticker { right: 31%; }
.nav-overlay__link:nth-child(2) .nav-overlay__sticker { right: 22.5%; }
.nav-overlay__link:nth-child(3) .nav-overlay__sticker { right: 18.8%; }
.nav-overlay__link:nth-child(4) .nav-overlay__sticker { right: 42.5%; }
.nav-overlay__link:nth-child(5) .nav-overlay__sticker { right: 23.8%; }

.nav-overlay__details {
  display: flex;
  align-items: center;
  min-height: clamp(52px, 6vw, 86px);
  justify-content: space-between;
  padding: clamp(16px, 2.22vw, 32px) var(--px-page);
  font-family: var(--font-body-bold);
  font-size: clamp(12px, 1.67vw, 24px);
  color: var(--c-white);
  white-space: nowrap;
  gap: 2vw;
}
.nav-overlay__details a {
  color: inherit;
  text-decoration: none;
}
.nav-overlay__details a:hover {
  text-decoration: underline;
}

/* ==========================
   RIBBON (checkerboard)
========================== */
.ribbon {
  width: 100%;
  height: 30px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Crect width='15' height='15' fill='white'/%3E%3Crect x='15' width='15' height='15' fill='%236653a3'/%3E%3Crect y='15' width='15' height='15' fill='%236653a3'/%3E%3Crect x='15' y='15' width='15' height='15' fill='white'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  background-repeat: repeat-x;
}

.ribbon--purple-start {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Crect width='15' height='15' fill='%236653a3'/%3E%3Crect x='15' width='15' height='15' fill='white'/%3E%3Crect y='15' width='15' height='15' fill='white'/%3E%3Crect x='15' y='15' width='15' height='15' fill='%236653a3'/%3E%3C/svg%3E");
}

/* ==========================
   HERO
========================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--c-beige);
  background-image:
    linear-gradient(#E8DCD9 1px, transparent 1px),
    linear-gradient(90deg, #E8DCD9 1px, transparent 1px);
  background-size: 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 77px;
}

/* ==========================
   BACKGROUND BLOB
========================== */
.hero__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, 40vw);
  height: min(580px, 40vw);
  border-radius: 50%;
  background: var(--c-beige);
  z-index: 1;
  pointer-events: none;
}

/* ==========================
   CONTENT
========================== */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Title block */
.hero__title-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 33px;
  /* repeated clicking while stamping stickers shouldn't highlight the text */
  user-select: none;
  -webkit-user-select: none;
}

/* WE BUILD */
.hero__we-build {
  font-family: "obviously-wide", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(28px, 3.125vw, 45px);
  color: var(--c-purple);
  text-align: center;
  line-height: 1;
  margin-bottom: 6px;
}

/* BRANDS THAT SPEAK */
.hero__brands-wrap {
  position: relative;
}

/* line break used only at mobile width */
.hero__brands-text br { display: none; }

.hero__brands-text {
  font-family: "obviously-narrow", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(50px, 6.8vw, 98px);
  color: var(--c-yellow);
  text-align: center;
  white-space: nowrap;
  line-height: 0.971;
  -webkit-text-stroke: 4px var(--c-purple);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 var(--c-purple),
    0 2px 0 var(--c-purple),
    0 3px 0 var(--c-purple),
    0 4px 0 var(--c-purple),
    0 5px 0 var(--c-purple),
    0 6px 0 var(--c-purple),
    0 7px 0 var(--c-purple),
    0 8px 0 var(--c-purple),
    0 9px 0 var(--c-purple),
    0 10.333px 0 var(--c-purple),
    -2px 1px 0 var(--c-purple),
    -2px 2px 0 var(--c-purple),
    -2px 3px 0 var(--c-purple),
    -2px 4px 0 var(--c-purple),
    -2px 5px 0 var(--c-purple),
    -2px 6px 0 var(--c-purple),
    -2px 7px 0 var(--c-purple),
    -2px 8px 0 var(--c-purple),
    -2px 9px 0 var(--c-purple),
    -2px 10.333px 0 var(--c-purple),
    2px 1px 0 var(--c-purple),
    2px 2px 0 var(--c-purple),
    2px 3px 0 var(--c-purple),
    2px 4px 0 var(--c-purple),
    2px 5px 0 var(--c-purple),
    2px 6px 0 var(--c-purple),
    2px 7px 0 var(--c-purple),
    2px 8px 0 var(--c-purple),
    2px 9px 0 var(--c-purple),
    2px 10.333px 0 var(--c-purple);
}

/* Rotating star */
.hero__star {
  position: absolute;
  width: 58px;
  height: 60px;
  left: 16%;
  top: -25px;
  animation: star-spin 4s linear infinite;
}

@keyframes star-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* youth culture */
/* "youth culture" — client-provided PNG (correct script ligatures/swash),
   the browser font couldn't reproduce them */
.hero__youth {
  display: block;
  /* Figma: youth culture ≈ 376px @1440 (~47% of "BRANDS THAT SPEAK"), 98px script */
  width: clamp(170px, 26vw, 390px);
  height: auto;
  /* pulled up so the ascenders slightly touch "SPEAK" above, like before the
     ligature-correct PNG (which has ~0 internal top padding) replaced it */
  margin: clamp(-8px, -0.5vw, -2px) auto 0;
}

/* ==========================
   SUBTITLE + CTA
========================== */
.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 33px;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}

.hero__subtitle {
  font-family: "obviously-wide", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(14px, 1.74vw, 25px);
  color: var(--c-purple);
  text-align: center;
  line-height: 1.22;
}

.hero__quack {
  display: block;
  width: 120px;
  height: 48px;
}

/* ==========================
   SHARED PURPLE BAND
   (projects + agency share one continuous bg)
========================== */
.purple-band {
  background-color: var(--c-purple);
  background-image:
    linear-gradient(#715FA9 1px, transparent 1px),
    linear-gradient(90deg, #715FA9 1px, transparent 1px);
  background-size: 30px 30px;
  overflow: hidden;
  position: relative;
}

/* ==========================
   PROJECTS SECTION
========================== */
.projects {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* more breathing room above/below the grid (airy, hoodzpah-style) */
  padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 130px);
  min-height: 700px;
}

/* Stars */
.projects__star {
  position: absolute;
  pointer-events: none;
  user-select: none;
  display: block;
  height: auto;
}

.projects__star--orange {
  width: clamp(140px, 17.1vw, 247px);
  left: -6.5%;
  top: 8%;
  z-index: 2; /* above carousel */
}

.projects__star--yellow {
  width: clamp(130px, 17.1vw, 246px);
  right: -2%;
  top: 20%;
  z-index: 0; /* behind carousel */
}

/* Title */
.projects__title {
  font-family: var(--font-display-he);
  font-size: clamp(52px, 6.67vw, 96px);
  font-weight: 700;
  color: var(--c-yellow);
  text-align: center;
  line-height: 1;
  margin-bottom: clamp(48px, 7vw, 90px);
  position: relative;
  z-index: 1;
}

/* Carousel viewport */
.projects__viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* height = card + 2 × rotation-overflow padding */
  height: 424px;
  cursor: grab;
  z-index: 1;
}

.projects__viewport:active {
  cursor: grabbing;
}

/* Draggable container — translateX applied via JS.
   No right/width constraint so the track can overflow the viewport. */
.projects__drag {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

/* Rotated track — LTR so cards flow left-to-right regardless of page RTL */
.projects__track {
  display: flex;
  gap: 40px;
  align-items: center;
  transform: rotate(-1deg);
  flex-shrink: 0;
  direction: ltr;
}

/* Individual card — restore RTL for Hebrew content */
.project-card {
  flex-shrink: 0;
  width: 460px;
  height: 352px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease;
  direction: rtl;
}


/* Card image area */
.project-card__img {
  flex: 1 0 0;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #1a1a2e; /* fallback */
}

.project-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.project-card__img--contain img {
  object-fit: contain;
}

/* Tags overlay — top-right (RTL reading start) */
.project-card__tags {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: calc(100% - 32px);
}

.project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-purple);
  color: var(--c-white);
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  padding: 8px 16px;
  border-radius: 41px;
  white-space: nowrap;
}

/* Card footer text */
.project-card__footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  color: var(--c-white);
  white-space: nowrap;
  flex-shrink: 0;
  gap: 8px;
}

.project-card__client {
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}

.project-card__name {
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}

/* "All projects" link */
.projects__all-link {
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(20px, 2.22vw, 32px);
  color: var(--c-white);
  text-decoration: underline;
  text-decoration-color: var(--c-white);
  text-underline-offset: 3px;
  margin-top: clamp(20px, 3vw, 36px);
  position: relative;
  z-index: 1;
  transition: opacity 0.2s;
}

.projects__all-link:hover {
  opacity: 0.75;
}

/* ==========================
   LATEST WORK GRID — exact spec from the client's Figma frame
   ("My Projects v3", 1440px ref): 12 cols, 30px column-gap, 175px row-gap,
   92px side padding, every tile's image at 16:9. Paired tiles (small+big /
   big+small) leave one column deliberately empty as a gutter between them,
   so each tile gets an explicit grid-column rather than an implicit span.
========================== */
.work-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  /* clamp()s are calibrated so the preferred (vw) value equals the exact
     Figma px number at the 1440px reference width, then scales down for
     smaller screens instead of staying flat */
  padding: 0 clamp(20px, 6.39vw, 92px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  /* dense: when the works filter hides tiles, repack the remaining ones
     instead of leaving gaps where the fixed span pattern expected them */
  grid-auto-flow: row dense;
  column-gap: clamp(16px, 2.08vw, 30px);
  row-gap: clamp(48px, 12.15vw, 175px);
  /* spacing before the "all projects" link below is .projects__all-link's
     own margin-top — no margin-bottom here too, that was double-spacing it */
}

.work-tile {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 3.75vw, 54px);
  direction: rtl;
  color: var(--c-white);
  text-decoration: none;
  transition: transform 0.25s ease;
}
.work-tile--feature        { grid-column: 1 / -1; }        /* full width */
.work-tile--start-1-span-4 { grid-column: 1 / span 4; }    /* small, leading */
.work-tile--start-5-span-4 { grid-column: 5 / span 4; }    /* small, middle (trio) */
.work-tile--start-9-span-4 { grid-column: 9 / span 4; }    /* small, trailing */
.work-tile--start-1-span-7 { grid-column: 1 / span 7; }    /* big, leading */
.work-tile--start-6-span-7 { grid-column: 6 / span 7; }    /* big, trailing (col 5 stays empty as gutter) */
.work-tile:hover { transform: translateY(-5px); }

.work-tile__media {
  position: relative;
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  background: var(--c-purple);
  aspect-ratio: 16 / 9;   /* same ratio for every tile size, per the Figma spec */
}
.work-tile__media img,
.work-tile__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-tile:hover .work-tile__media img,
.work-tile:hover .work-tile__media video { transform: scale(1.06); }

.work-tile__tags {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.work-tile__tags .project-tag {
  font-size: clamp(12px, 1vw, 15px);
}

.work-tile__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
}
/* name + client stay tight (like Figma's "Heading 3" group); the 20px
   Figma gap before the description is margin-top on .work-tile__desc below */
.work-tile__name {
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(22px, 2.78vw, 40px);
  line-height: 1;
}
.work-tile__client {
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(14px, 1.39vw, 20px);
  opacity: 0.85;
}
.work-tile__desc {
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(15px, 1.67vw, 24px);
  line-height: 1.33;
  opacity: 0.7;
  margin-top: clamp(10px, 1.39vw, 20px);
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-tile--start-1-span-4,
  .work-tile--start-5-span-4,
  .work-tile--start-9-span-4,
  .work-tile--start-1-span-7,
  .work-tile--start-6-span-7 { grid-column: span 1; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-tile--feature,
  .work-tile--start-1-span-4,
  .work-tile--start-5-span-4,
  .work-tile--start-9-span-4,
  .work-tile--start-1-span-7,
  .work-tile--start-6-span-7 { grid-column: 1 / -1; }
}

/* Responsive: scale cards on small screens */
@media (max-width: 767px) {
  .projects__viewport {
    height: 300px;
  }
  .projects__track {
    gap: 20px;
  }
  .project-card {
    width: clamp(240px, 72vw, 360px);
    height: auto;
  }
  .project-card__img {
    height: clamp(160px, 48vw, 260px);
    flex: none;
  }
  .project-card__tags {
    top: 10px;
    right: 10px;
  }
  .project-tag {
    font-size: 13px;
    padding: 6px 12px;
  }
  .project-card__client {
    font-size: 13px;
  }
  .project-card__name {
    font-size: 20px;
  }
}

/* ==========================
   AGENCY SECTION
========================== */
.agency {
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(40px, 4.44vw, 64px) 0 clamp(80px, 21.4vw, 308px);
}

/* Composition wrapper — fills up to Figma's 1089px, then scales */
.agency__comp {
  position: relative;
  width: min(1089px, 100%);
  /* aspect-ratio matches the 1089×278 Figma asset */
  aspect-ratio: 1089 / 278;
  flex-shrink: 0;
}

/* All direct children are absolutely positioned within the comp */
.agency__comp > * {
  position: absolute;
  /* height: auto so each img preserves its own aspect ratio */
  height: auto;
}

/* ── Main text body ──────────────────────────────────
   Figma: left=3.39%, top=0, width=96.61% of 1089
──────────────────────────────────────────────────── */
.agency__text-img {
  left:   3.39%;
  top:    0;
  width:  96.61%;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Decorative overlays ────────────────────────── */
.agency__deco {
  pointer-events: none;
  user-select: none;
}

/* White oval: left=0, top=0.22%, width=28.07% */
.agency__deco--oval {
  left:  0;
  top:   0.22%;
  width: 28.07%;
  z-index: 2;
}

/* Wavy white wave: left=60.73%, top=85.01%, width=27.01% */
.agency__deco--wavy {
  left:  60.73%;
  top:   85.01%;
  width: 27.01%;
  z-index: 2;
}

/* Dashed accent line: left=39.49%, top=55.45%, width=29.69% */
.agency__deco--dash {
  left:  39.49%;
  top:   55.45%;
  width: 29.69%;
  z-index: 3;
}

/* ── Draggable stickers ─────────────────────────── */
.agency__sticker {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: filter 0.18s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center center;
}

.agency__sticker.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
  transform: scale(1.08);
  z-index: 20 !important;
}

/* Megaphone composite: bounding box left=0, top=0, width=18.03% (196.3/1089), height=100% of comp */
.agency__sticker--megaphone {
  position: absolute;
  left:    0;
  top:     0;
  width:   18.03%;
  height:  100%;
  z-index: 4;
}

.agency__meg-layer {
  position: absolute;
  height:   auto;
}

/* Shadow — positions relative to the 196.3×278 container */
.agency__meg-shadow  { left: 25.83%; top: 51.65%; width: 71.42%; z-index: 1; mix-blend-mode: multiply; opacity: 0.8; }
/* Yellow outline */
.agency__meg-outline { left: 25.37%; top: 51.47%; width: 71.47%; z-index: 2; }
/* Faint purple overlay */
.agency__meg-detail1 { left: 41.01%; top: 56.69%; width: 59.19%; z-index: 3; opacity: 0.2; }
/* Eye behind body */
.agency__meg-eye1    { left: 45.08%; top: 56.76%; width: 15.23%; z-index: 4; }
/* Main body */
.agency__meg-body    { left:  0;      top:  0;     width: 93.58%; z-index: 5; }
/* Eye in front of body */
.agency__meg-eye2    { left: 28.53%; top: 59.93%; width: 18.74%; z-index: 6; }

/* Star sticker: left=86.9%, top=22.29%, width=11.1% */
.agency__sticker--star {
  left:    86.9%;
  top:     22.29%;
  width:   11.1%;
  z-index: 5;
}

/* ==========================
   CUSTOMERS SECTION
========================== */
.customers {
  background-color: var(--c-beige);
  padding: clamp(64px, 8.9vw, 128px) 0 clamp(52px, 7.2vw, 104px);
  overflow: hidden;
}

/* ── Title row ──────────────────────────────────────
   align-items: flex-end puts the wavy bottom flush
   with the pill bottom (≈ SVG bottom), centering the
   wavy on the pill rather than the full SVG height.  */
.customers__title-row {
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 4.86vw, 70px);
  margin-bottom: 64px;
}

.customers__title-img {
  display: block;
  width: min(584px, 90vw);
  height: auto;
  flex-shrink: 0;
}

/* Each wavy side fills the remaining width, tiling
   the SVG seamlessly for wider viewports.
   background-position: left/right aligns the tile
   flush to the outer edge (away from title).         */
.customers__wavy-side {
  flex: 1;
  min-width: 0;
  height: 101px;
  background-image: url('../assets/customers-wavy.svg');
  background-repeat: repeat-x;
  background-size: 372px 101px;
  background-position: left bottom;
}

.customers__wavy-side--right {
  transform: scaleX(-1);
}

/* ── Marquee strip ─────────────────────────────────── */
.customers__marquee-wrap {
  position: relative;
  overflow: hidden;
  height: 151px;
  display: flex;
  align-items: center;
}

/* Scrolling flex row — two identical sets side by side */
.customers__marquee {
  display: flex;
  flex-shrink: 0;
  animation: customers-scroll 38s linear infinite;
}

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

/* Each set of 16 logos */
.customers__set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 66px;
  padding-right: 66px; /* gap after last logo = gap within set → seamless join */
}

.customers__logo {
  flex-shrink: 0;
  height: 120px;
  width:  auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ==========================
   SERVICES
========================== */
.services {
  background-color: var(--c-beige);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: clamp(80px, 10.5vw, 152px) 0 clamp(100px, 14.4vw, 208px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(48px, 8.6vw, 124px);
}

.services__deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.services__deco--sun  { left: -9.93%; top: 17.29%; width: 26.46%; }
.services__deco--blob { right: -10.67%; top: 45.31%; width: 28.93%; }
.services__deco--wave { left: 5.69%; bottom: -4%; width: 25.31%; }

.services__title {
  font-family: var(--font-display-he);
  font-size: clamp(48px, 6.67vw, 96px);
  line-height: 0.97;
  font-weight: 700;
  color: var(--c-purple);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ── Cards deck ────────────────────────────────────
   padding-top accommodates icon that overflows the
   card top by ~79px.                               */
.services__deck {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 90px;
  position: relative;
  z-index: 2;
}

.service-card {
  flex: 0 0 clamp(180px, 18vw, 260px);
  min-height: clamp(270px, 27vw, 390px);
  margin-left: clamp(-47px, -3.26vw, -20px);
  position: relative;
  background-color: var(--c-purple);
  border: 3.3px solid var(--c-beige);
  border-radius: 13px;
  padding: clamp(60px, 6.67vw, 96px) clamp(14px, 1.6vw, 23px) clamp(20px, 1.67vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.67vw, 24px);
  transform: rotate(var(--rot, 0deg));
  transform-origin: center bottom;
  z-index: var(--z, 1);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
}

.service-card:first-child { margin-left: 0; }
.service-card:nth-child(3) { transform: rotate(4deg); }

/* Card icon — floats above the card top edge */
.service-card__icon {
  position: absolute;
  left: clamp(20px, 2.4vw, 34px);
  top: clamp(-50px, -5.5vw, -79px);
  width: clamp(100px, 10.5vw, 152px);
  height: auto;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card__name {
  font-family: var(--font-display-he);
  font-size: clamp(22px, 2.78vw, 40px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(13px, 1.25vw, 18px);
  color: #fff;
  text-align: center;
  line-height: 1.5;
}

/* ── Hover: hovered card pops up, others step back ── */
.services__deck.deck-hover .service-card {
  transform: rotate(var(--rot, 0deg)) translateY(10px) scale(0.97);
}
.services__deck.deck-hover .service-card:hover {
  z-index: 10 !important;
  transform: rotate(0deg) translateY(-24px) scale(1.04);
  box-shadow: 0 24px 64px rgba(102, 83, 163, 0.4);
}
.services__deck.deck-hover .service-card:hover .service-card__icon {
  transform: translateY(-8px) rotate(12deg);
}

/* ==========================
   FAQ SECTION
========================== */
.faq {
  background: var(--c-purple);
  position: relative;
}

.faq__row {
  display: flex;
  align-items: stretch;
  min-height: clamp(420px, 41.7vw, 600px);
}

.faq__list {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 2px solid #fff;
}

.faq__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__duck-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.faq__duck-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(220px, 31.5vw, 454px);
  height: auto;
  pointer-events: none;
}

.faq__duck {
  position: relative;
  width: clamp(220px, 31.5vw, 454px);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Accordion item */
.faq__item {
  border-top: 2px solid #fff;
}

.faq__item:first-child {
  border-top: none;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 4.2vw, 60px);
  padding: clamp(16px, 1.67vw, 24px) clamp(24px, 4.44vw, 64px);
  cursor: pointer;
  text-align: right;
  direction: ltr;
}

.faq__icon {
  flex-shrink: 0;
  width: clamp(20px, 2.22vw, 32px);
  height: clamp(20px, 2.22vw, 32px);
}

.faq__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0% 0% 0% 0%);
  transition: clip-path 0.3s ease;
}

.faq__question[aria-expanded="true"] .faq__icon svg {
  clip-path: inset(36% 0% 36% 0%);
}

.faq__q-text {
  flex: 1;
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.2;
  color: var(--c-white);
  direction: rtl;
  text-align: right;
}

/* Answer panel */
.faq__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

.faq__body.is-open {
  max-height: 400px;
  opacity: 1;
}

.faq__answer-text {
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(15px, 1.67vw, 22px);
  color: var(--c-white);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  margin: 0;
  padding: 0 clamp(24px, 4.44vw, 64px) clamp(16px, 1.67vw, 24px) clamp(24px, 4.44vw, 64px);
  transform: translateY(-6px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__body.is-open .faq__answer-text {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .faq__visual { display: none; }
  .faq__list   { flex: 1; }
}

/* ==========================
   CHECKERBOARD RIBBON (hero bottom)
========================== */
.hero__ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Crect width='15' height='15' fill='white'/%3E%3Crect x='15' width='15' height='15' fill='%236653a3'/%3E%3Crect y='15' width='15' height='15' fill='%236653a3'/%3E%3Crect x='15' y='15' width='15' height='15' fill='white'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  background-repeat: repeat-x;
  z-index: 4;
}


/* ==========================
   FOOTER
========================== */
.footer {
  display: flex;
  flex-direction: column;
  background: var(--c-purple);
  overflow: hidden;
  min-height: 100vh; /* footer always fills the viewport */
}

/* --- Sign-up section (top of footer) --- */
.footer__signup-section {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.11vw, 16px);
  padding: clamp(22px, 2.78vw, 40px) clamp(32px, 4.17vw, 60px);
  direction: rtl;
  /* cap footer content width on large desktops; ribbons/waves stay full-width */
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
}

.footer__signup-title {
  margin: 0;
  font-family: var(--font-display-he);
  font-size: clamp(20px, 2.78vw, 40px);
  font-weight: 700;
  color: var(--c-white);
  text-align: right;
}

.footer__signup {
  display: flex;
  flex-direction: row;
  direction: rtl;
  gap: clamp(5px, 0.56vw, 8px);
  align-items: stretch;
  height: clamp(40px, 4.03vw, 58px);
}

.footer__input {
  flex: 1;
  min-width: 0;
  padding: 0 clamp(12px, 1.11vw, 16px);
  background: var(--c-white);
  border: 2px solid var(--c-purple);
  border-radius: 18px;
  box-sizing: border-box;
  font-family: var(--font-body-bold);
  font-size: clamp(15px, 1.39vw, 20px);
  color: var(--c-purple);
  text-align: right;
  direction: rtl;
}

.footer__input::placeholder {
  color: var(--c-purple);
  opacity: 0.55;
}

.footer__input:focus {
  outline: none;
  border-color: var(--c-yellow);
}

.footer__signup-btn {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.83vw, 12px);
  flex: 1;
  padding: 0 clamp(14px, 1.11vw, 16px);
  background: var(--c-yellow);
  border: 2px solid transparent; /* match input border width so heights are identical */
  border-radius: 18px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: var(--font-body-bold);
  font-size: clamp(15px, 1.39vw, 20px);
  font-weight: 700;
  color: var(--c-purple);
  white-space: nowrap;
}

.footer__btn-arrow {
  flex: 1;
  min-width: 0;
  max-width: 120px;
  position: relative;
  align-self: center;
  height: 16px;
}

/* line runs full width underneath the chevron */
.footer__btn-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  border-radius: 4px;
  background: var(--c-purple);
  z-index: 0;
  transition: left 0.2s ease, right 0.2s ease;
}

.footer__signup-btn:hover .footer__btn-arrow::after {
  left: -6px;
  right: -6px;
}

.footer__signup-btn:hover .footer__btn-arrow::before {
  left: -6px;
}

.footer__signup-btn > span:last-child {
  transition: transform 0.2s ease;
}

.footer__signup-btn:hover > span:last-child {
  transform: translateX(4px);
}

/* chevron painted on top, same colour as line → seamless join */
.footer__btn-arrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16' fill='none'%3E%3Cpath d='M8.78748 14.9491C8.18607 15.5505 7.21018 15.5505 6.60877 14.9491L0.44959 8.78893C-0.151817 8.18753 -0.151817 7.21261 0.44959 6.6112L6.60877 0.451044C7.21018 -0.150363 8.18607 -0.150363 8.78748 0.451044C9.38868 1.05231 9.38842 2.02735 8.78748 2.62878L3.71619 7.70007L8.78748 12.7714C9.38858 13.3727 9.38852 14.3477 8.78748 14.9491Z' fill='%236653A3'/%3E%3C/svg%3E");
  transition: left 0.2s ease;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

/* --- Main content row (below form) --- */
.footer__content {
  display: flex;
  flex-direction: row;
  direction: ltr; /* override html dir=rtl so logo stays left, menu stays right */
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(22px, 2.78vw, 40px) clamp(32px, 4.17vw, 60px);
  /* cap footer content width on large desktops; ribbons/waves stay full-width */
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
}

/* Left column: Ducky logo + tagline */
.footer__brand {
  display: flex;
  flex-direction: column;
  width: clamp(200px, 39.3vw, 566px);
  flex-shrink: 0;
}

.footer__logo {
  display: block;
  width: clamp(120px, 23.8vw, 343px);
  height: auto;
}

.footer__tagline {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(-14px, -1.94vw, -28px); /* negative gap overlap from Figma */
}

/* Right column: social icons + nav/contact */
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(28px, 4.17vw, 60px);
  width: clamp(200px, 39.3vw, 566px);
  flex-shrink: 0;
}

.footer__social-links {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 4.17vw, 60px);
  width: 100%;
}

.footer__social-links a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.2s;
}

.footer__social-links a:hover {
  opacity: 0.7;
}

.footer__social-links img {
  display: block;
  height: clamp(16px, 2.08vw, 30px);
  width: auto;
}

.footer__menu {
  display: flex;
  flex-direction: row;
  direction: rtl;
  justify-content: space-between;
  width: 100%;
}

.footer__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.11vw, 16px);
  color: var(--c-white);
  font-family: var(--font-body-bold);
  font-size: clamp(11px, 1.25vw, 18px);
  line-height: 1.4;
  text-align: right;
}

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

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.11vw, 16px);
}

.footer__nav a {
  display: block;
  color: var(--c-white);
  text-decoration: none;
  font-family: var(--font-body-bold);
  font-size: clamp(11px, 1.25vw, 18px);
  line-height: 1.4;
  text-align: right;
}

.footer__nav a:hover {
  text-decoration: underline;
}

/* Waves — grow to fill the leftover height so the footer is exactly 100vh;
   the wave graphic anchors to the bottom and is cropped if space is tight */
.footer__waves {
  line-height: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.footer__waves img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile stacking */
/* ============================================================
   RESPONSIVE — TABLET  (≤ 768px)
============================================================ */
@media (max-width: 768px) {

  /* ── Navbar ───────────────────────────────────────────── */
  .navbar__logo { transform: scale(0.8); transform-origin: left center; }

  /* ── Nav overlay ──────────────────────────────────────── */
  .nav-overlay__sticker { display: none; }       /* no hover on touch */
  .nav-overlay__details {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 14px;
    white-space: normal;
  }

  /* ── Hero ─────────────────────────────────────────────── */
  .hero { padding-top: 60px; }
  .hero__blob { width: min(360px, 76vw); height: min(360px, 76vw); }
  .hero__we-build { font-size: 38px; }
  .hero__brands-text {
    font-size: clamp(56px, 9vw, 72px);
    white-space: normal;
  }
  .hero__brands-text br { display: inline; }   /* break "BRANDS THAT" / "SPEAK" on mobile */
  .hero__youth { width: clamp(150px, 34vw, 250px); }
  .hero__subtitle { font-size: 16px; }
  .hero__bottom { gap: 24px; }

  /* ── Agency ───────────────────────────────────────────── */
  .agency { display: none; }

  /* ── Projects ─────────────────────────────────────────── */
  .projects { min-height: unset; }
  .projects__star { display: none; }

  /* ── Customers ────────────────────────────────────────── */
  .customers__title-row { margin-bottom: 0; }
  .customers { padding-bottom: 24px; }
  .customers__marquee { animation-duration: 22s; }
  .customers__logo { height: 110px; max-width: 110px; }
  .customers__set  { gap: 48px; padding-right: 48px; }

  /* ── Services ─────────────────────────────────────────── */
  .services { padding-top: 40px; }
  /* smaller, padded title so it doesn't overflow / feel cramped */
  .services__title {
    font-size: clamp(30px, 8.6vw, 46px);
    padding: 0 var(--px-page);
  }

  /* ── Services ─────────────────────────────────────────── */
  .services__deco { display: none; }
  .services__deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    padding: 72px var(--px-page) 0;
    row-gap: 52px;
    column-gap: 4px;
    width: 100%;
    box-sizing: border-box;
  }
  .service-card {
    width: 100%;
    min-height: unset;
    margin-left: 0 !important;
    transform: rotate(var(--rot, 0deg)) !important;
    transition: none !important;
    box-shadow: none !important;
    padding-left: 12px;
    padding-right: 12px;
  }
  .service-card__icon {
    left: 50%;
    transform: translateX(-50%) !important;
    top: -60px;
    width: min(120px, 52%);
    transition: none !important;
  }
  .service-card__name { font-size: 26px; }
  .service-card__list { font-size: 16px; }
  /* kill all deck-hover states on mobile */
  .services__deck.deck-hover .service-card,
  .services__deck.deck-hover .service-card:hover {
    transform: rotate(var(--rot, 0deg)) !important;
    box-shadow: none !important;
  }

  /* ── FAQ ──────────────────────────────────────────────── */
  .faq__list {
    border-right: none;
    flex: 1;
  }
  .faq__q-text { font-size: clamp(16px, 3vw, 22px); }

  /* ── Footer ───────────────────────────────────────────── */
  .footer__content {
    flex-direction: column;
    gap: 32px;
    padding: 28px 24px;
  }
  .footer__brand,
  .footer__right { width: 100%; }
  .footer__right { align-items: stretch; }
  .footer__logo { width: clamp(140px, 38vw, 260px); }
  .footer__social-links {
    justify-content: space-between;
    gap: 8px;
  }
  /* comfortable tap targets (≥24px) */
  .footer__social-links a {
    min-width: 24px;
    min-height: 24px;
    justify-content: center;
  }
  .footer__menu { flex-direction: column; gap: 20px; }
  /* nav links as a wrapping row instead of a column */
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
  }
  .footer__signup-section { padding: 28px 24px; }
  .footer__signup {
    flex-wrap: wrap;
    height: auto;
  }
  .footer__input { flex: 1 1 calc(50% - 4px); height: 48px; }
  .footer__signup-btn {
    flex: 1 1 100%;
    height: 48px;
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE — PHONE  (≤ 480px)
============================================================ */
@media (max-width: 480px) {

  /* ── Token override ───────────────────────────────────── */
  :root { --px-page: 20px; }

  /* ── Nav overlay ──────────────────────────────────────── */
  .nav-overlay__link { font-size: 36px; }
  .nav-overlay__details { font-size: 13px; }

  /* ── Hero ─────────────────────────────────────────────── */
  .hero { padding-top: 56px; }
  .hero__blob { width: min(260px, 72vw); height: min(260px, 72vw); }
  .hero__we-build { font-size: 28px; }
  .hero__brands-text {
    font-size: clamp(44px, 11.5vw, 56px);
    -webkit-text-stroke: 3px var(--c-purple);
    /* reduce 3D shadow depth proportionally for smaller type */
    text-shadow:
      0 1px 0 var(--c-purple), 0 2px 0 var(--c-purple),
      0 3px 0 var(--c-purple), 0 4px 0 var(--c-purple),
      0 5px 0 var(--c-purple), 0 6px 0 var(--c-purple),
      -2px 1px 0 var(--c-purple), -2px 2px 0 var(--c-purple),
      -2px 3px 0 var(--c-purple), -2px 4px 0 var(--c-purple),
      -2px 5px 0 var(--c-purple), -2px 6px 0 var(--c-purple),
      2px 1px 0 var(--c-purple),  2px 2px 0 var(--c-purple),
      2px 3px 0 var(--c-purple),  2px 4px 0 var(--c-purple),
      2px 5px 0 var(--c-purple),  2px 6px 0 var(--c-purple);
  }
  .hero__youth { width: clamp(130px, 42vw, 210px); }
  .hero__subtitle { font-size: 16px; }
  .hero__star { width: 40px; height: 42px; }

  /* ── Customers ────────────────────────────────────────── */
  .customers__wavy-side { display: none; }
  .customers__title-row { justify-content: center; gap: 0; }
  /* smaller title so it isn't edge-to-edge (less cramped) */
  .customers__title-img { width: min(260px, 74vw); }
  .customers__logo { height: 90px; max-width: 90px; }
  .customers__set  { gap: 32px; padding-right: 32px; }

  /* ── FAQ ──────────────────────────────────────────────── */
  /* horizontal padding matches the navbar/hamburger (--px-page) */
  .faq__question { padding: 14px var(--px-page); gap: 10px; }
  .faq__icon { width: 18px; height: 18px; }
  .faq__q-text { font-size: 18px; }
  .faq__answer-text { padding: 0 var(--px-page) 14px; font-size: 15px; }

  /* ── Footer ───────────────────────────────────────────── */
  .footer__signup-section { padding: 20px 16px; }
  .footer__signup-title { font-size: 26px; }
  .footer__signup {
    flex-direction: column;
    height: auto;
    gap: 8px;
  }
  .footer__input {
    flex: none;
    width: 100%;
    height: 52px;
    font-size: 17px;
  }
  .footer__signup-btn {
    flex: none;
    width: 100%;
    height: 52px;
    font-size: 17px;
  }
  .footer__content { padding: 20px 16px; gap: 28px; }
  .footer__logo { width: min(200px, 55vw); }
  .footer__tagline { width: min(260px, 70vw); }
  .footer__social-links { gap: 16px; flex-wrap: wrap; }
  .footer__nav a,
  .footer__contact { font-size: 16px; }
}


/* ============================================================
   ABOUT PAGE
============================================================ */

/* ── Hero ── */
.about-hero {
  position: relative;
  background: var(--c-beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--header-margin, 148px);
  padding-bottom: clamp(80px, 13.06vw, 188px);
  gap: clamp(32px, 4.17vw, 60px);
  overflow: hidden;
}

.about-hero__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-yellow);
  border: 2px solid var(--c-purple);
  border-radius: 41px;
  /* Selfie font sits with extra space on the right, so trim the right padding (Figma spec) */
  padding: 4px 16px 4px 8px;
  font-family: "selfie-neue-round", sans-serif;
  font-size: clamp(18px, 2.22vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-purple);
  white-space: nowrap;
}

.about-hero__headline {
  font-family: var(--font-display-he);
  font-size: clamp(40px, 6.67vw, 96px);
  line-height: 0.97;
  color: var(--c-purple);
  text-align: center;
  max-width: clamp(300px, 66.9vw, 964px);
  margin: 0;
}

.about-hero__explosion {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.about-hero__explosion--orange {
  left: 0;
  top: clamp(60px, 17.5vw, 252px);
  width: clamp(140px, 17.2vw, 248px);
}
.about-hero__explosion--yellow {
  right: 0;
  top: clamp(80px, 22.5vw, 324px);
  width: clamp(150px, 18.8vw, 271px);
}

/* ── About Section (purple) ── */
.about-section {
  position: relative;
  background: var(--c-purple);
  width: 100%;
  min-height: clamp(600px, 71.1vw, 1024px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-section__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 6.11vw, 88px) clamp(24px, 13.06vw, 188px);
  z-index: 1;
}

.about-section__bg {
  position: absolute;
  left: clamp(-100px, -5.54vw, -80px);
  top: clamp(-20px, -1.24vw, -18px);
  width: clamp(400px, 53.2vw, 766px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.about-section__intro-wrap {
  width: 100%;
  max-width: 1064px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(40px, 6.11vw, 88px);
}

.about-section__heading {
  font-family: var(--font-body-bold);
  font-size: clamp(22px, 2.22vw, 32px);
  font-weight: 700;
  color: var(--c-yellow);
  margin: 0 0 12px;
  text-align: right;
}

.about-section__intro {
  font-family: 'Ploni ML v2 AAA', sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--c-beige);
  text-align: right;
  max-width: clamp(280px, 39vw, 562px);
  margin: 0;
}

.about-section__box {
  position: relative;
  background: var(--c-beige);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: clamp(24px, 5.56vw, 80px);
  padding: clamp(40px, 6.11vw, 88px) clamp(32px, 8.06vw, 116px);
  width: 100%;
  max-width: 1064px;
  box-sizing: border-box;
}

.about-section__box-text {
  flex: 1;
  min-width: 0;
  font-family: 'Ploni ML v2 AAA', sans-serif;
  color: var(--c-purple);
  text-align: right;
}

.about-section__box-body {
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 24px;
}

.about-section__box-bold {
  font-size: clamp(20px, 1.94vw, 28px);
  font-weight: 700;
  line-height: 1.19;
  margin: 0;
}

.about-section__logos {
  flex-shrink: 0;
  width: clamp(160px, 20.5vw, 295px);
  height: auto;
}

.about-section__corner {
  position: absolute;
  width: clamp(16px, 1.65vw, 24px);
  height: clamp(16px, 1.65vw, 24px);
  background: var(--c-yellow);
  border: 2px solid var(--c-purple);
  box-sizing: border-box;
}
.about-section__corner--tr { top:    calc(-1 * clamp(8px, 0.83vw, 12px)); right: calc(-1 * clamp(8px, 0.83vw, 12px)); }
.about-section__corner--br { bottom: calc(-1 * clamp(8px, 0.83vw, 12px)); right: calc(-1 * clamp(8px, 0.83vw, 12px)); }
.about-section__corner--tl { top:    calc(-1 * clamp(8px, 0.83vw, 12px)); left:  calc(-1 * clamp(8px, 0.83vw, 12px)); }
.about-section__corner--bl { bottom: calc(-1 * clamp(8px, 0.83vw, 12px)); left:  calc(-1 * clamp(8px, 0.83vw, 12px)); }

/* ── About Box Entrance Animation ── */
@keyframes box-open {
  0%   { clip-path: inset(50% 50%); }
  13%  { clip-path: inset(48% 0%);  }
  100% { clip-path: inset(-20px);   }
}
@keyframes box-content-appear {
  from { opacity: 0; filter: blur(4px); transform: translateY(8px); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0);   }
}

.about-section__box.box--visible {
  animation: box-open 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
  will-change: clip-path;
}

.box--visible .about-section__box-body  { animation: box-content-appear 0.5s ease 0.95s both; }
.box--visible .about-section__box-bold  { animation: box-content-appear 0.5s ease 1.1s  both; }
.box--visible .about-section__logos     { animation: box-content-appear 0.5s ease 1.0s  both; }

.about-section__corner { will-change: transform; }

/* ── Wavy Band ── */
.about-wavy-band {
  display: flex;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
  margin-bottom: calc(-1 * clamp(30px, 3.61vw, 52px));
}

.about-wavy-band__half {
  flex: 0 0 50%;
  height: clamp(60px, 7.22vw, 104px);
  position: relative;
  overflow: hidden;
  background: transparent;
}

.about-wavy-band__half--yellow {
  background: transparent;
}

.about-wavy-band__half--grid {
  background: transparent;
}

.about-wavy-band__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 100%;
  display: block;
}

/* ── Moatza Section ── */
.about-moatza {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  min-height: clamp(400px, 56vw, 807px);
  width: 100%;
  position: relative;
  z-index: 1;
  /* background visible in the padding-top zone (behind the wave overlay) */
  background-color: var(--c-beige);
  background-image:
    linear-gradient(to right, var(--c-yellow) 50%, transparent 50%),
    linear-gradient(#E8DCD9 1px, transparent 1px),
    linear-gradient(90deg, #E8DCD9 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px;
}

.about-moatza__text {
  position: relative;
  flex: 0 0 50%;
  box-sizing: border-box;
  background: var(--c-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 4.17vw, 60px) clamp(32px, 4.17vw, 60px);
  gap: 12px;
  color: var(--c-purple);
  text-align: right;
}

/* decorative white sparkles in the left whitespace (per original design) */
.about-moatza__star {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.about-moatza__star--top {
  top: 30%;
  left: 19%;
  width: clamp(20px, 1.9vw, 28px);
}
.about-moatza__star--bottom {
  top: 75%;
  left: 37%;
  width: clamp(28px, 2.7vw, 39px);
}

.about-moatza__title {
  font-family: var(--font-display-he);
  font-size: clamp(24px, 2.78vw, 40px);
  line-height: 1.0;
  margin: 0;
  width: 100%;
  max-width: 460px;
}

.about-moatza__body {
  font-family: 'Ploni ML v2 AAA', sans-serif;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  width: 100%;
  max-width: 460px;
}

.about-moatza__statement {
  font-family: var(--font-body-bold);
  font-size: clamp(18px, 1.94vw, 28px);
  font-weight: 700;
  line-height: 1.19;
  margin: 0;
  width: 100%;
  max-width: 460px;
}

.about-moatza__visual {
  flex: 0 0 50%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-beige);
  background-image:
    linear-gradient(#E8DCD9 1px, transparent 1px),
    linear-gradient(90deg, #E8DCD9 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: hidden;
}

.about-moatza__illustration {
  width: clamp(260px, 85%, 620px);
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  padding-top: 2vw;
}

/* ── About Page Responsive ── */
@media (max-width: 768px) {
  /* keep the desktop sticker bursts as background accents; text sits on top */
  .about-hero__explosion { display: block; z-index: 0; }
  .about-hero__explosion--orange { left: -20px; top: clamp(70px, 18vw, 110px); width: clamp(90px, 28vw, 130px); }
  .about-hero__explosion--yellow { right: -22px; top: clamp(108px, 26vw, 150px); width: clamp(100px, 30vw, 140px); }
  .about-hero__tag,
  .about-hero__headline { position: relative; z-index: 1; }
  .about-hero__headline { font-size: clamp(32px, 8vw, 52px); }

  .about-section__bg { display: none; }
  .about-section__inner { padding: 40px 24px; }
  .about-section__intro-wrap { max-width: 100%; }
  .about-section__intro { max-width: 100%; font-size: 16px; }
  .about-section__intro br { display: none; }
  .about-section__heading { font-size: 24px; }
  .about-section__box { flex-direction: column-reverse; }
  .about-section__box-body { font-size: 16px; }
  .about-section__box-bold { font-size: 22px; }
  .about-section__logos { width: min(220px, 70%); }

  .about-wavy-band__half { height: 60px; }
  .about-wavy-band__half--yellow { display: none; }
  .about-wavy-band__half--grid { flex: 0 0 100%; }

  .about-moatza {
    flex-direction: column-reverse;
    padding-top: 0;
    background-image: none;
    background-color: var(--c-yellow);
  }
  .about-moatza__text { flex: 0 0 auto; width: 100%; gap: 24px; padding: clamp(40px, 8vw, 60px) clamp(24px, 6vw, 40px); }
  .about-moatza__visual { flex: 0 0 auto; width: 100%; min-height: 430px; }
  .about-moatza__illustration { width: clamp(260px, 80%, 480px); padding-top: 5vw; }
  .about-moatza__body { font-size: 16px; }
  .about-moatza__statement { font-size: 21px; }
}

@media (max-width: 480px) {
  .about-hero__tag { font-size: 22px; }
  .about-hero__headline { font-size: 30px; }
  .about-moatza__title { font-size: 28px; }
}


/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-page {
  position: relative;
  background: var(--c-purple);
  overflow: hidden;
}

/* ── Hero ── */
.contact-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--header-margin, 148px) var(--px-page) clamp(28px, 3.05vw, 44px);
}

/* background grid over the whole page, faded out before the footer */
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#715FA9 1px, transparent 1px),
    linear-gradient(90deg, #715FA9 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, #000, #000 calc(100% - 240px), transparent);
          mask-image: linear-gradient(to bottom, #000, #000 calc(100% - 240px), transparent);
}

.contact-hero__star {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.contact-hero__star--yellow {
  left: clamp(16px, 7vw, 100px);
  top: clamp(120px, 11.5vw, 165px);
  width: clamp(34px, 4.6vw, 66px);
}
.contact-hero__star--orange {
  left: clamp(60px, 12vw, 168px);
  top: clamp(150px, 14vw, 200px);
  width: clamp(28px, 3.75vw, 54px);
}

.contact-hero__title {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0;
  line-height: 0.969;
}

.contact-hero__title-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display-he);
  font-weight: 700;
  font-size: clamp(48px, 6.67vw, 96px);
  color: var(--c-yellow);
  /* Figma: single hard offset shadow, no outline (7.5px / 4.5px at 96px) */
  text-shadow: 0.078em 0.047em 0 var(--c-purple);
}

/* checkerboard band crossing the lower third of the title */
.contact-hero__checker {
  position: absolute;
  left: -5%;
  width: 110%;
  bottom: clamp(-4px, -0.28vw, -2px); /* band bottom sits on the title baseline */
  height: clamp(20px, 2.08vw, 30px);
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Crect width='15' height='15' fill='white'/%3E%3Crect x='15' width='15' height='15' fill='%236653a3'/%3E%3Crect y='15' width='15' height='15' fill='%236653a3'/%3E%3Crect x='15' y='15' width='15' height='15' fill='white'/%3E%3C/svg%3E");
  background-size: clamp(16px, 1.4vw, 20px) clamp(16px, 1.4vw, 20px);
  background-repeat: repeat;
}

.contact-hero__subtitle {
  position: relative;
  z-index: 1;
  margin: clamp(20px, 2.5vw, 36px) 0 0;
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.5;
  color: var(--c-white);
  max-width: 720px;
}

/* ── Content (form + info) ── */
.contact-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--px-page) clamp(48px, 5.83vw, 84px);
}

.contact-row {
  display: flex;
  direction: ltr; /* keep form on the left, info on the right (cards stay RTL inside) */
  align-items: stretch;
  gap: clamp(16px, 2.22vw, 32px);
  max-width: 1312px;
  margin: 0 auto;
}

/* ── Form card ── */
.contact-form {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.9vw, 12px);
  background: var(--c-beige);
  border-radius: 18px;
  padding: clamp(20px, 2.22vw, 32px);
}

.contact-form__head {
  text-align: center;
  margin-bottom: clamp(4px, 0.7vw, 10px);
}

.contact-form__title {
  margin: 0;
  font-family: var(--font-display-he);
  font-weight: 700;
  font-size: clamp(24px, 2.78vw, 40px);
  line-height: 1;
  color: var(--c-purple);
}

.contact-form__subtitle {
  margin: clamp(6px, 0.7vw, 10px) 0 0;
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  color: var(--c-purple);
}

.contact-form__row {
  display: flex;
  gap: clamp(12px, 1.11vw, 16px);
}

.contact-input {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 58px;
  background: var(--c-white);
  border: 2px solid var(--c-purple);
  border-radius: 18px;
  padding: 0 16px;
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--c-purple);
  text-align: right;
  outline: none;
}

.contact-input::placeholder {
  color: #dcd0d2;
  font-weight: 700;
  opacity: 1;
}

.contact-input:focus {
  box-shadow: 0 0 0 3px rgba(102, 83, 163, 0.18);
}

.contact-input--area {
  height: auto;
  min-height: clamp(120px, 10.9vw, 157px);
  padding: 16px;
  resize: vertical;
  line-height: 1.4;
}

.contact-form__actions {
  display: flex;
  justify-content: flex-end; /* RTL → button sits on the left */
  margin-top: auto;
  padding-top: clamp(4px, 0.5vw, 8px);
}

.contact-submit {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.83vw, 12px);
  width: clamp(240px, 26.6vw, 383px);
  max-width: 100%;
  height: 63px;
  padding: 0 clamp(14px, 1.11vw, 16px);
  background: var(--c-yellow);
  border: 2px solid var(--c-purple);
  border-radius: 18px;
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(16px, 1.39vw, 20px);
  color: var(--c-purple);
  white-space: nowrap;
}

.contact-submit__label {
  transition: transform 0.2s ease;
}
.contact-submit:hover .contact-submit__label {
  transform: translateX(4px);
}

.contact-submit__arrow {
  position: relative;
  flex: 0 0 auto;
  width: clamp(56px, 6vw, 86px);
  height: 16px;
  align-self: center;
}
.contact-submit__arrow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  border-radius: 4px;
  background: var(--c-purple);
  transition: left 0.2s ease, right 0.2s ease;
}
.contact-submit__arrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16' fill='none'%3E%3Cpath d='M8.78748 14.9491C8.18607 15.5505 7.21018 15.5505 6.60877 14.9491L0.44959 8.78893C-0.151817 8.18753 -0.151817 7.21261 0.44959 6.6112L6.60877 0.451044C7.21018 -0.150363 8.18607 -0.150363 8.78748 0.451044C9.38868 1.05231 9.38842 2.02735 8.78748 2.62878L3.71619 7.70007L8.78748 12.7714C9.38858 13.3727 9.38852 14.3477 8.78748 14.9491Z' fill='%236653A3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: left 0.2s ease;
  z-index: 1;
}
.contact-submit:hover .contact-submit__arrow::after { left: -6px; right: -6px; }
.contact-submit:hover .contact-submit__arrow::before { left: -6px; }

.contact-form__quack {
  position: absolute;
  right: clamp(4px, 4vw, 56px);
  bottom: clamp(-22px, -1.5vw, -18px);
  width: clamp(120px, 14vw, 201px);
  pointer-events: none;
  z-index: 3;
}

/* ── Info card ── */
.contact-info {
  position: relative;
  flex: 0 0 32%;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.55vw, 8px);
  border-radius: 18px;
  padding: clamp(20px, 2.22vw, 32px);
  background-color: var(--c-beige);
  /* halftone dot texture, denser on the left edge */
  background-image: radial-gradient(rgba(102, 83, 163, 0.18) 1.1px, transparent 1.2px);
  background-size: 9px 9px;
  background-position: top left;
}

.contact-info__head {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* RTL → pill on the right */
  min-height: clamp(40px, 3.4vw, 48px);
  margin-bottom: clamp(8px, 1vw, 14px);
}

.contact-info__pill {
  display: inline-flex;
  align-items: center;
  background: var(--c-yellow);
  border: 2px solid var(--c-purple);
  border-radius: 58px;
  padding: 4px clamp(12px, 1.1vw, 16px);
  font-family: "selfie-neue-round", 'Ploni ML v2 AAA', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.22vw, 32px);
  line-height: 1;
  color: var(--c-purple);
  white-space: nowrap;
}

.contact-info__badge {
  position: absolute;
  top: clamp(-56px, -3.6vw, -50px);
  left: clamp(16px, 2.7vw, 39px);
  width: clamp(80px, 7.6vw, 109px);
  height: auto;
  pointer-events: none;
}

.contact-info__lead {
  margin: 0 0 clamp(6px, 0.7vw, 10px);
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--c-purple);
  text-align: right;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.83vw, 12px);
  height: 58px;
  padding: 0 clamp(12px, 1.11vw, 16px);
  background: var(--c-white);
  border: 2px solid var(--c-purple);
  border-radius: 18px;
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  color: var(--c-purple);
  transition: transform 0.15s ease;
}
.contact-info__item:not(.contact-info__item--static):hover {
  transform: translateY(-2px);
}

.contact-info__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-info__icon svg { display: block; width: clamp(20px, 1.67vw, 24px); height: auto; }

.contact-info__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Opening hours ── */
.contact-hours {
  margin-top: auto;
  background: var(--c-yellow);
  border: 2px solid var(--c-purple);
  border-radius: 18px;
  padding: clamp(12px, 1.11vw, 16px);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.contact-hours__title {
  margin: 0;
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(20px, 1.94vw, 28px);
  line-height: 1.19;
  color: var(--c-purple);
  text-align: right;
}

.contact-hours__divider {
  display: block;
  height: 2px;
  background: var(--c-purple);
  margin: clamp(8px, 0.83vw, 12px) 0;
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  color: var(--c-purple);
}
.contact-hours__row + .contact-hours__row { margin-top: clamp(8px, 0.83vw, 12px); }

/* ── Responsive ── */
@media (max-width: 920px) {
  .contact-row {
    flex-direction: column;
    max-width: 640px;
  }
  .contact-info { flex: 1 1 auto; }
  .contact-info__badge { left: auto; right: clamp(16px, 4vw, 32px); }
  .contact-info__head { justify-content: flex-start; }
  .contact-form__quack { right: 4%; }
  /* once the layout stacks, give each input the full card width */
  .contact-form__row { flex-direction: column; gap: clamp(8px, 0.9vw, 12px); }
  /* in a column, flex:1 1 0 would zero the HEIGHT — restore the fixed height */
  .contact-input { flex: 0 0 auto; }
}

@media (max-width: 560px) {
  .contact-submit { width: 100%; height: 54px; }
  .contact-info__text { font-size: 15px; }
  .contact-form__quack { width: 110px; bottom: -16px; }
  .contact-hero__star--orange { display: none; }
}

/* ==========================
   WORKS / PROJECTS PAGE
========================== */
.works {
  position: relative;
  overflow: hidden;
  background: var(--c-purple);
  text-align: center;
  padding: var(--header-margin, 148px) var(--px-page) clamp(56px, 6.94vw, 100px);
}

/* background grid covering the whole section, faded out before the footer */
.works::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#715FA9 1px, transparent 1px),
    linear-gradient(90deg, #715FA9 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, #000, #000 calc(100% - 240px), transparent);
          mask-image: linear-gradient(to bottom, #000, #000 calc(100% - 240px), transparent);
}

/* explosions flanking the title (rotated 180° per design) */
.works__explosion {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transform: rotate(180deg);
}
.works__explosion--orange {
  right: clamp(-32px, -3vw, -44px);
  top: clamp(80px, 11vw, 150px);
  width: clamp(110px, 14vw, 200px);
}
.works__explosion--yellow {
  left: clamp(-36px, -3.6vw, -52px);
  top: clamp(96px, 13vw, 180px);
  width: clamp(120px, 15.5vw, 220px);
}

/* title — same treatment as the contact hero: yellow display type with a
   checkerboard band crossing the lower third */
.works__title {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 clamp(40px, 5.5vw, 80px);
  line-height: 0.969;
}

.works__title-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display-he);
  font-weight: 700;
  font-size: clamp(48px, 6.67vw, 96px);
  color: var(--c-yellow);
  text-shadow: 0.078em 0.047em 0 var(--c-purple);
}

.works__title-checker {
  position: absolute;
  left: -5%;
  width: 110%;
  bottom: clamp(-4px, -0.28vw, -2px);
  height: clamp(20px, 2.08vw, 30px);
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Crect width='15' height='15' fill='white'/%3E%3Crect x='15' width='15' height='15' fill='%236653a3'/%3E%3Crect y='15' width='15' height='15' fill='%236653a3'/%3E%3Crect x='15' y='15' width='15' height='15' fill='white'/%3E%3C/svg%3E");
  background-size: clamp(16px, 1.4vw, 20px) clamp(16px, 1.4vw, 20px);
  background-repeat: repeat;
}

@media (max-width: 600px) {
  /* explosions become oversized accents on phones — drop them */
  .works__explosion { display: none; }
}

/* ============================================================
   SINGLE PROJECT PAGE (case study)
============================================================ */
.project {
  --project-pad: clamp(20px, 4.17vw, 60px);
  background: var(--c-beige);
}

/* full-bleed hero photo */
.project-hero {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vw, 760px);
}
.project-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* desktop/mobile media split — only relevant when hero_media_mobile is set
   (.has-mobile-media, added in single-project.php); otherwise the single
   .project-hero__img--desktop stays visible at every width */
.project-hero__img--mobile { display: none; }
/* purple bar (bottom-right) + burst (bottom-left), straddling the hero's bottom edge */
.project-hero__bar,
.project-hero__burst {
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  z-index: 2;
  pointer-events: none;
  height: auto;
}
.project-hero__bar { right: clamp(-44px, -4vw, -58px); width: clamp(280px, 33.7vw, 486px); }
.project-hero__burst { left: clamp(-44px, -3.5vw, -50px); width: clamp(240px, 29.8vw, 430px); }

/* shared content column */
.project-intro,
.project-gallery {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--project-pad);
  padding-right: var(--project-pad);
}

/* ── intro: title + scope + description ── */
/* RTL: flex-start = right edge, so content aligns right */
.project-intro {
  padding-top: clamp(56px, 8.33vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 2.22vw, 32px);
  text-align: right;
}

.project-intro__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.project-intro__year {
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1;
  color: var(--c-purple);
}
.project-intro__title {
  font-family: var(--font-display-he);
  font-weight: 700;
  font-size: clamp(48px, 6.67vw, 96px);
  line-height: 0.969;
  color: var(--c-yellow);
  /* exactly like Figma: purple outline around the yellow letters + hard offset shadow */
  -webkit-text-stroke: 0.042em var(--c-purple);
  paint-order: stroke fill;
  text-shadow: 0.078em 0.047em 0 var(--c-purple);
  margin: 0;
}

.project-intro__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2.22vw, 32px);
}

.project-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-intro__cols {
  width: 100%;
  display: flex;
  gap: clamp(28px, 4.44vw, 64px);
  align-items: flex-start;
  color: var(--c-purple);
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
}
.project-scope { flex: 1; }
.project-scope p { margin: 0; }
.project-scope__head { font-weight: 700; margin-bottom: 4px !important; }
.project-desc { flex: 1; margin: 0; }

/* ── gallery ── */
.project-gallery {
  padding-top: clamp(40px, 6.94vw, 100px);
  padding-bottom: clamp(56px, 6.94vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.22vw, 32px);
}

.project-label {
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1;
  color: var(--c-purple);
  text-align: right;
  margin: clamp(16px, 2.5vw, 36px) 0 0;
}

/* "text" gallery block — centered heading + paragraph, per Figma spec */
.project-text {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  direction: rtl;
  text-align: right;
  color: var(--c-purple);
  padding: clamp(24px, 4vw, 60px) 0;
}
.project-text__title {
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(24px, 2.22vw, 32px);
  line-height: 1;
  margin: 0;
}
.project-text__body {
  font-family: var(--font-body-bold);
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
}
.project-text__body p { margin: 0 0 1em; }
.project-text__body p:last-child { margin-bottom: 0; }

.project-figure {
  margin: 0;
  width: 100%;
}
.project-figure img,
.project-figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.project-grid {
  display: grid;
  gap: clamp(16px, 2.22vw, 32px);
  /* design grids flow left-to-right (first item on the left) */
  direction: ltr;
}
.project-grid--2 { grid-template-columns: 1fr 1fr; }

/* constrained pair: same footprint as a single --usage/--palette image (880px), centered */
.project-grid--narrow { max-width: 880px; margin-inline: auto; }

/* uniform card heights in the 2-col mockup grids (design crops to these ratios) */
.project-grid--2 .project-figure img,
.project-grid--2 .project-figure video { aspect-ratio: 644 / 1000; object-fit: cover; }
.project-grid--wide .project-figure img,
.project-grid--wide .project-figure video { aspect-ratio: 644 / 502; }

@media (max-width: 720px) {
  .project-intro__cols { flex-direction: column; gap: 20px; }
  /* pairs stay side-by-side on mobile by default; opt-in to stacking per block */
  .project-grid--2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .project-grid--2.project-grid--stack-mobile { grid-template-columns: 1fr; gap: 20px; }
  .project-figure img,
  .project-figure video,
  .project-grid--2 .project-figure img,
  .project-grid--2 .project-figure video { border-radius: 20px; }
  /* smaller hero decorations, pushed further off the edges so they don't dominate */
  .project-hero__bar   { width: 150px; right: -70px; }
  .project-hero__burst { width: 130px; left: -66px; }
  /* swap to the mobile media, if one was uploaded */
  .project-hero.has-mobile-media .project-hero__img--desktop { display: none; }
  .project-hero.has-mobile-media .project-hero__img--mobile { display: block; }
}

/* ==========================
   SITE LOADER (first-visit)
   Matches Figma "Circle Clip Mask Animation": purple field, checker bands
   top & bottom, spinning duck, percentage counter. Exits with a circular
   clip-path reveal of the page beneath.
========================== */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--c-purple);
  /* circular reveal: starts as a full-screen disc, collapses to nothing */
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease 0.5s;
  will-change: clip-path, opacity;
}
.site-loader__ribbon { height: 30px; }
.site-loader__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.site-loader__duck {
  width: clamp(180px, 26vw, 304px);
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  border: 0;
  background: transparent;
}
.site-loader__pct {
  font-family: var(--font-display-he);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  color: var(--c-beige);
  letter-spacing: 0.02em;
}

/* Exit state — collapse the purple disc to reveal the page, then fade out. */
.site-loader.is-done {
  clip-path: circle(0% at 50% 50%);
  opacity: 0;
  pointer-events: none;
}

/* Repeat navigations within the session: never show the loader (set pre-paint). */
html.is-loaded .site-loader { display: none; }

/* Lock scroll while the first-visit loader is on screen. */
body.loader-active { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .site-loader { transition: opacity 0.3s ease; }
  .site-loader.is-done { clip-path: none; }
  .site-loader__duck { /* GIF/webp still plays; acceptable as a brand element */ }
}

/* ==========================
   PAGE TRANSITIONS
   Native cross-document View Transitions for modern browsers (zero JS);
   a lightweight fade fallback (.no-vt) everywhere else.
========================== */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: dk-fade-out 0.28s ease both; }
  ::view-transition-new(root) { animation: dk-fade-in 0.34s ease both; }
}

@keyframes dk-fade-out { to { opacity: 0; } }
@keyframes dk-fade-in  { from { opacity: 0; } }

/* Fallback for browsers without cross-document View Transitions. */
html.no-vt body { animation: dk-page-in 0.4s ease both; }
html.no-vt.is-leaving body { opacity: 0; transition: opacity 0.28s ease; }
@keyframes dk-page-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html.no-vt body { animation: none; }
  html.no-vt.is-leaving body { transition: none; opacity: 1; }
}

/* In-page anchors (#services etc.) clear the fixed navbar and land on content, not under it. */
html { scroll-padding-top: clamp(80px, 11vw, 120px); }
#services { scroll-margin-top: clamp(20px, 3vw, 40px); }

/* WORKS — category filter pills (active = cream, inactive = outline on purple) */
.works__filter {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto clamp(36px, 5vw, 64px);
}
.works__filter-btn {
  cursor: pointer;
  font-family: var(--font-body-bold);
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1;
  padding: 10px 22px;
  border-radius: 41px;
  border: 2px solid rgba(251, 239, 225, 0.5);
  background: transparent;
  color: var(--c-beige);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.works__filter-btn:hover { border-color: var(--c-beige); }
.works__filter-btn.is-active { background: var(--c-beige); color: var(--c-purple); border-color: var(--c-beige); }
.works__filter-btn:active { transform: translateY(1px); }

/* home card tags are clickable (open the works page filtered by that tag) */
.work-tile__tags .project-tag[data-tag-url] { cursor: pointer; }

/* ==========================
   INTERACTIVE HERO STICKERS  (faithful to the client prototype)
========================== */
.hero { touch-action: manipulation; }
.sticker {
  position: absolute;
  left: 0;
  top: 0;
  /* natural stamp size, capped — matches the prototype (was a wrong 86px square) */
  width: max-content;
  max-width: 15em;
  max-height: 30em;
  display: grid;
  place-items: center;
  transform-origin: center;
  pointer-events: none;
  will-change: transform, opacity, filter;
  z-index: 7;
}
.sticker-inner {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
}
.sticker-inner img {
  display: block;
  width: 100%;
  max-width: 15em;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0.6px 1.3px 1.3px hsl(0deg 0% 0% / 0.48));
}
@media (max-width: 620px) {
  .sticker,
  .sticker-inner img { max-width: 11em; }
}

/* loader shows just the duck — percentage hidden per client request */
.site-loader__pct { display: none; }

/* top stroke only on the first nav row (עמוד ראשי) */
.nav-overlay__link:first-child { border-top: 1px solid var(--c-white); }
