
/* =========================================================
   ANTIBE WORK PAGE
   Built on Antibe Design System v1
   Minimum text size: 15px
   ========================================================= */

.work-page {
  color: var(--ink);
  background: #fff;
}

.work-page .section-shell {
  width: min(calc(100% - 56px), var(--content-max));
}

/* HERO */
.work-hero {
  position: relative;
  overflow: hidden;
  min-height: 900px;
  background: #e9f4fb;
}

.work-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 84%, rgba(255,103,48,.50), transparent 29%),
    radial-gradient(circle at 88% 14%, rgba(74,177,255,.60), transparent 31%),
    radial-gradient(circle at 72% 88%, rgba(29,165,157,.18), transparent 34%),
    linear-gradient(135deg, #e2f2fb 0%, #f3f8fb 48%, #fff2e9 100%);
}

.work-hero__backdrop::after {
  content: "";
  position: absolute;
  inset: -10%;
  opacity: .52;
  background:
    linear-gradient(120deg, transparent 22%, rgba(255,255,255,.30) 44%, transparent 62%),
    radial-gradient(circle at 45% 42%, rgba(255,255,255,.58), transparent 22%);
  filter: blur(35px);
}

.work-hero__shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 56px), var(--page-max));
  min-height: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.work-hero__content {
  width: min(calc(100% - 80px), 1440px);
  margin: auto;
  padding: 90px 0 70px;
}

.work-hero h1 {
  max-width: 1120px;
  margin: 22px 0 0;
  color: #050505;
  font-size: clamp(64px, 5.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
}

.work-hero h1 span {
  display: block;
  color: #4AB1FF;
}

.work-hero__lead {
  max-width: 1120px;
  margin: 30px 0 0;
  color: #2f4650;
  font-size: 20px;
  line-height: 1.62;
}

.work-hero__lead span {
  display: block;
  white-space: nowrap;
}

.work-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.work-proof-strip {
  width: min(calc(100% - 80px), 1440px);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid rgba(8,45,50,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(12px);
}

.work-proof-strip span {
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 12px 20px;
  color: #4e6267;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  border-right: 1px solid rgba(8,45,50,.07);
}

.work-proof-strip span:last-child {
  border-right: 0;
}

/* SHARED HEAD */
.work-section-head {
  max-width: 1100px;
}

.work-section-head h2 {
  margin: 17px 0 0;
  color: var(--ink);
  font-size: clamp(48px, 4.2vw, 70px);
  line-height: 1.05;
  letter-spacing: -.048em;
  font-weight: 400;
}

.work-section-head > p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #617277;
  font-size: 17px;
  line-height: 1.65;
}

.work-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.work-section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr);
  gap: 70px;
  align-items: end;
}

.work-section-head--split h2 {
  max-width: 980px;
}

.work-section-head--split > p {
  margin: 0 0 10px;
  max-width: 540px;
}

/* FEATURED CASE STUDIES */
.work-case-studies {
  padding: 112px 0 120px;
  background: #fff;
}

.featured-work-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
  margin-top: 66px;
}

.featured-work-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 26px;
  isolation: isolate;
  scroll-margin-top: 90px;
}

.featured-work-card--large {
  min-height: 650px;
}

.featured-work-card--wide {
  min-height: 650px;
}

.featured-work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.featured-work-card:hover img {
  transform: scale(1.025);
}

.featured-work-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3,14,24,.02), rgba(3,14,24,.12) 38%, rgba(3,14,24,.90) 100%),
    linear-gradient(90deg, rgba(3,14,24,.30), transparent 60%);
}

.featured-work-card__content {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 32px;
}

.featured-work-card__eyebrow {
  color: rgba(255,255,255,.68);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.featured-work-card h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 400;
}

.featured-work-card p {
  max-width: 690px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 15px;
  line-height: 1.6;
}

.featured-work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.featured-work-card__meta span,
.featured-work-card__result {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.featured-work-card__result {
  margin-top: 17px;
}

/* ALL PROJECTS */
.all-projects {
  padding: 112px 0 120px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(47,144,188,.24), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(255,102,48,.12), transparent 27%),
    linear-gradient(135deg, #15131b 0%, #102432 64%, #07373a 100%);
}

.all-projects .work-section-head h2 {
  color: #fff;
}

.all-projects .work-section-head > p {
  color: rgba(255,255,255,.68);
}

.project-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 48px;
}

.project-filter__btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.05);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.project-filter__btn:hover,
.project-filter__btn.is-active {
  color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
}

.all-projects-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  margin-top: 36px;
}

.project-tile {
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  transition: transform .22s ease, opacity .22s ease;
}

.project-tile:hover {
  transform: translateY(-3px);
}

.project-tile.is-hidden {
  display: none;
}

.project-tile__visual,
.project-tile__brand-art {
  position: relative;
  overflow: hidden;
  height: 285px;
  flex: 0 0 285px;
}

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

.project-tile__brand-art {
  display: grid;
  place-items: center;
  background: #eef5f9;
}

.project-tile--sixwatch .project-tile__brand-art {
  background:
    radial-gradient(circle at 80% 18%, rgba(75,177,255,.24), transparent 29%),
    linear-gradient(145deg,#e8f5fb,#f8fbfd);
}

.project-tile--sos .project-tile__brand-art {
  background:
    radial-gradient(circle at 12% 85%, rgba(255,107,56,.14), transparent 28%),
    linear-gradient(145deg,#f3f8fa,#fff7f1);
}

.project-tile--winthrop .project-tile__brand-art {
  background: linear-gradient(145deg,#edf1f5,#f8fafb);
}

.project-tile--maid .project-tile__brand-art {
  background:
    radial-gradient(circle at 84% 16%, rgba(255,116,167,.16), transparent 29%),
    linear-gradient(145deg,#f9f1fa,#f8fbfd);
}

.project-tile--agency .project-tile__brand-art {
  background:
    radial-gradient(circle at 12% 88%, rgba(31,170,160,.17), transparent 28%),
    linear-gradient(145deg,#eaf7f4,#f6faf9);
}

.project-tile__monogram,
.project-tile__wordmark {
  color: var(--ink);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.project-tile__browser {
  position: absolute;
  right: 38px;
  bottom: 34px;
  width: 170px;
  height: 96px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 16px 35px rgba(31,72,97,.12);
}

.project-tile__browser i {
  display: block;
  height: 8px;
  margin-bottom: 9px;
  border-radius: 99px;
  background: #cbd7df;
}

.project-tile__browser i:nth-child(2){width:75%}
.project-tile__browser i:nth-child(3){width:52%}

.project-tile__metric {
  position: absolute;
  right: 36px;
  bottom: 34px;
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255,255,255,.70);
}

.project-tile__metric b,
.project-tile__metric small {
  display: block;
  font-size: 15px;
}

.project-tile__line-art {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 52px;
  height: 1px;
  background: linear-gradient(90deg,transparent,#728693,transparent);
}

.project-tile__spark {
  position: absolute;
  right: 50px;
  bottom: 46px;
  color: #ff6b38;
  font-size: 48px;
}

.project-tile__stack {
  position: absolute;
  right: 48px;
  bottom: 46px;
}

.project-tile__stack i {
  display: block;
  width: 115px;
  height: 34px;
  margin-top: -7px;
  border: 1px solid rgba(8,45,50,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 8px 20px rgba(28,74,96,.08);
}

.project-tile__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.project-tile__content > span:first-child {
  color: rgba(255,255,255,.54);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-tile__content h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 400;
}

.project-tile__content p {
  margin: 13px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 15px;
  line-height: 1.55;
}

.project-tile__content a,
.project-tile__coming {
  margin-top: auto;
  padding-top: 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.project-tile__coming {
  color: rgba(255,255,255,.46);
}

/* OUTCOMES */
.work-outcomes {
  padding: 112px 0 120px;
  background: #f6f9fb;
}

.work-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
  margin-top: 62px;
}

.work-outcomes-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(8,45,50,.08);
  border-radius: 22px;
  background: #fff;
}

.work-outcomes-grid article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg,var(--orange-1),var(--orange-2));
  font-size: 15px;
  font-weight: 600;
}

.work-outcomes-grid h3 {
  margin: auto 0 0;
  padding-top: 40px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 400;
}

.work-outcomes-grid p {
  margin: 13px 0 0;
  color: #65767a;
  font-size: 15px;
  line-height: 1.58;
}

/* FINAL CTA */
.work-final-cta {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dceafa;
}

.work-final-cta__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02)),
    url("../assets/cta-background-v2.webp") center / cover no-repeat;
}

.work-final-cta__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 75%,rgba(255,112,57,.16),transparent 28%),
    radial-gradient(circle at 83% 18%,rgba(255,255,255,.18),transparent 26%);
}

.work-final-cta__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1120px);
  text-align: center;
}

.work-final-cta h2 {
  margin: 34px 0 0;
  color: var(--ink);
  font-size: clamp(50px,4.7vw,74px);
  line-height: 1.05;
  letter-spacing: -.05em;
  font-weight: 400;
}

.work-final-cta p {
  max-width: 760px;
  margin: 23px auto 0;
  color: #425b65;
  font-size: 16px;
  line-height: 1.62;
}

.work-final-cta .btn {
  margin-top: 34px;
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .featured-work-grid,
  .all-projects-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .work-outcomes-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .work-section-head--split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .work-section-head--split > p {
    margin: 0;
  }

  .work-hero__lead span {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .work-hero {
    min-height: auto;
  }

  .work-hero__shell {
    width: calc(100% - 40px);
    min-height: 0;
  }

  .work-hero__content,
  .work-proof-strip {
    width: 100%;
  }

  .work-hero__content {
    padding-top: 95px;
    padding-bottom: 55px;
  }

  .work-page .section-shell {
    width: calc(100% - 40px);
  }

  .work-proof-strip {
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-bottom: 24px;
  }

  .work-proof-strip span:nth-child(2) {
    border-right: 0;
  }

  .work-proof-strip span:nth-child(-n+2) {
    border-bottom: 1px solid rgba(8,45,50,.07);
  }
}

@media (max-width: 820px) {
  .featured-work-grid,
  .all-projects-grid,
  .work-outcomes-grid {
    grid-template-columns: 1fr;
  }

  .featured-work-card,
  .featured-work-card--large,
  .featured-work-card--wide {
    min-height: 500px;
  }

  .project-tile {
    min-height: 430px;
  }
}

@media (max-width: 720px) {
  .work-hero__shell {
    width: calc(100% - 30px);
  }

  .work-page .section-shell {
    width: calc(100% - 30px);
  }

  .work-hero h1 {
    font-size: 8vw;
    line-height: 1.08;
  }

  .work-hero__lead {
    font-size: 17px;
  }

  .work-hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .work-hero__actions .btn {
    width: 100%;
  }

  .work-proof-strip {
    grid-template-columns: 1fr;
  }

  .work-proof-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(8,45,50,.07);
  }

  .work-proof-strip span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .work-case-studies,
  .all-projects,
  .work-outcomes {
    padding-top: 80px;
    padding-bottom: 86px;
  }

  .work-section-head h2 {
    font-size: 42px;
  }

  .featured-work-card,
  .featured-work-card--large,
  .featured-work-card--wide {
    min-height: 440px;
  }

  .featured-work-card__content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .featured-work-card h3 {
    font-size: 34px;
  }

  .project-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .project-filter::-webkit-scrollbar {
    display: none;
  }

  .project-filter__btn {
    flex: 0 0 auto;
  }

  .work-final-cta h2 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-work-card img,
  .project-tile,
  .project-filter__btn {
    transition: none;
  }
}


/* =========================================================
   V23 — WORK PAGE HEADLINE + CTA REFINEMENTS
   ========================================================= */

/* Featured case studies headline */
.work-case-studies .work-section-head h2 {
  max-width: 1180px;
  font-size: clamp(42px, 3.55vw, 60px);
  line-height: 1.07;
}

/* All projects headline */
.all-projects .work-section-head h2 {
  max-width: 940px;
  font-size: clamp(40px, 3.35vw, 57px);
  line-height: 1.08;
}

/* Outcomes headline */
.work-outcomes .work-section-head h2 {
  max-width: 1120px;
  margin-inline: auto;
  font-size: clamp(40px, 3.35vw, 57px);
  line-height: 1.08;
}

/* Final CTA headline */
.work-final-cta h2 {
  font-size: clamp(44px, 4vw, 64px);
  line-height: 1.06;
}

/* Final CTA supporting sentence */
.work-final-cta p {
  color: #050505;
  font-size: 18px;
  line-height: 1.62;
}

@media (max-width: 560px) {
  .work-case-studies .work-section-head h2,
  .all-projects .work-section-head h2,
  .work-outcomes .work-section-head h2 {
    font-size: 38px;
  }

  .work-final-cta h2 {
    font-size: 40px;
  }

  .work-final-cta p {
    font-size: 18px;
  }
}


/* =========================================================
   V24 — WORK HEADLINE ACCENT COLOR
   ========================================================= */

.work-hero h1 span {
  color: #4AB1FF;
}


/* =========================================================
   V25 — LIGHT-BLUE HEADLINE ACCENT + RESTORED FOOTER
   ========================================================= */

.work-hero h1 span {
  color: #4AB1FF;
}


/* =========================================================
   V45 — WORK HERO HEADLINE
   ========================================================= */

/* Keep the full Work hero headline in the standard heading color. */
.work-hero h1,
.work-hero h1 span {
  color: inherit !important;
}


/* =========================================================
   V46 — FEATURED CASE STUDY LINKS
   ========================================================= */

.featured-work-card {
  position:relative;
}

.featured-work-card__link {
  position:absolute;
  inset:0;
  z-index:5;
  border-radius:inherit;
}

.featured-work-card:has(.featured-work-card__link) {
  cursor:pointer;
}

.featured-work-card:has(.featured-work-card__link):hover img {
  transform:scale(1.025);
}


/* =========================================================
   V52 — WORK PROJECT TILE REFINEMENTS
   ========================================================= */

.project-tile--winthrop .project-tile__brand-art {
  padding: 18px;
  background:
    radial-gradient(circle at 82% 15%, rgba(224,194,123,.12), transparent 30%),
    linear-gradient(145deg,#101923,#0e3740);
}

.project-tile__logo-cover {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 18px;
}

.project-tile__status {
  margin-top: auto;
  padding-top: 22px;
  color: rgba(255,255,255,.62);
  font-size: 15px;
  font-weight: 600;
}

.project-tile--agency .project-tile__brand-art {
  background:
    radial-gradient(circle at 18% 86%, rgba(255,103,48,.28), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(74,177,255,.35), transparent 34%),
    linear-gradient(140deg,#152231 0%,#0e4850 58%,#08373b 100%);
}

.project-tile--agency .project-tile__wordmark {
  color: #fff;
  text-shadow: 0 8px 26px rgba(0,0,0,.18);
}

.project-tile--agency .project-tile__stack i {
  border-color: rgba(255,255,255,.18);
  background:
    linear-gradient(135deg,rgba(255,255,255,.92),rgba(208,237,255,.76));
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

.project-tile--agency .project-tile__stack i:nth-child(2) {
  background: linear-gradient(135deg,#ffb195,#ff6b38);
}

.project-tile--agency .project-tile__stack i:nth-child(3) {
  background: linear-gradient(135deg,#9bd5ff,#4ab1ff);
}
