:root {
  --navy: #061347;
  --deep: #030b25;
  --blue: #1b65ff;
  --purple: #7037ef;
  --text: #071848;
  --muted: #637096;
  --line: rgba(18, 44, 94, .12);
  --bg: #f6faff;
}

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.work-page-new { background: var(--bg); color: var(--text); font-family: "Poppins", Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.work-hero {
  min-height: max(820px, 53.35vw);
  color: #fff;
  position: relative;
  overflow: hidden;
  background: #020611 url("../images/work/our-work-hero-banner.png") center top / 100% auto no-repeat;
}
.work-hero:after { display: none; }
.case-studies-hero {
  min-height: max(820px, 53.35vw);
  color: #fff;
  position: relative;
  overflow: hidden;
  background: #020611 url("../images/case-study-collection-banner.png") center top / 100% auto no-repeat;
}
.work-hero-dots { position: absolute; inset: 0 0 0 47%; z-index: 1; width: 53%; height: 100%; pointer-events: none; opacity: 1; }
.work-header, .work-hero-inner, .case-studies-hero .work-header, .case-studies-hero .work-hero-inner { position: relative; z-index: 2; }
.work-header { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; gap: 24px; }
.work-logo { width: 132px; flex: 0 0 auto; }
.work-nav { margin: 0 auto; display: flex; gap: 8px; align-items: center; }
.work-nav a { color: #fff; font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 5px; transition: .2s ease; }
.work-nav a:hover, .work-nav a.active { background: var(--blue); }
.work-call { color: #fff; display: grid; text-align: right; gap: 2px; font-weight: 700; }
.work-call small { color: rgba(255,255,255,.72); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.work-menu { display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; background: rgba(255,255,255,.08); z-index: 10000; }
.work-menu span { display: block; height: 2px; margin: 6px 10px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.work-menu.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.work-menu.is-active span:nth-child(2) { opacity: 0; }
.work-menu.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.work-hero-inner { width: min(1320px, calc(100% - 40px)); margin: 0 auto; min-height: 760px; display: flex; align-items: center; }
.work-hero-copy { max-width: 900px; padding: 52px 0 96px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 600; margin-bottom: 26px; }
.breadcrumb a { color: #fff; }
.work-hero-kicker { position: relative; display: flex; align-items: center; gap: 18px; color: #45a9ff; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; font-weight: 600; margin: 0 0 22px; text-shadow: 0 0 16px rgba(69,169,255,.28); }
.work-hero-kicker:before { content: ""; width: 78px; height: 2px; background: linear-gradient(90deg, #c54cff, #2b96ff); box-shadow: 0 0 16px rgba(93,38,255,.55); }
.work-hero h1, .case-studies-hero h1 { max-width: 760px; color: #fff; font-size: var(--h1-hero-size); line-height: var(--h1-hero-lh); font-weight: 800; margin-bottom: 26px; letter-spacing: 0; text-shadow: 0 14px 34px rgba(0,0,0,.5); text-wrap: balance; }
.work-hero h1:after, .case-studies-hero h1:after { content: ""; display: block; width: 72px; height: 2px; margin-top: 22px; background: linear-gradient(90deg, #c54cff, #2b96ff); box-shadow: 0 0 16px rgba(93,38,255,.55); }
.work-hero h1 span, .case-studies-hero h1 span, .work-hero-text span { background: linear-gradient(90deg, #c74cff 0%, #7b59ff 52%, #2d95ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-hero-text { max-width: 660px; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.65; margin: 0 0 48px; text-shadow: 0 8px 22px rgba(0,0,0,.48); }
.work-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: min(900px, 100%); padding: 25px 26px; border: 1px solid rgba(83,130,255,.25); border-radius: 10px; background: rgba(5,12,34,.56); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 54px rgba(0,0,0,.22); backdrop-filter: blur(3px); }
.work-stats div { position: relative; min-width: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; padding: 0 31px; }
.work-stats div:first-child { padding-left: 0; }
.work-stats div:last-child { padding-right: 0; }
.work-stats div:not(:last-child):after { content: ""; position: absolute; right: 0; top: 5px; bottom: 5px; width: 1px; background: rgba(255,255,255,.14); }
.work-stat-icon { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; color: #2d8fff; }
.work-stat-icon img { width: 100%; height: 100%; object-fit: contain; }
.work-stat-icon:before { font-size: 28px; line-height: 1; font-weight: 900; }
.work-stat-icon.has-uploaded-icon:before { display: none; }
.stat-clients .work-stat-icon { color: #b44cff; }
.stat-clients .work-stat-icon:before { content: "\2637"; }
.stat-projects .work-stat-icon { color: #7f45ff; }
.stat-projects .work-stat-icon:before { content: "\2197"; }
.stat-rocket .work-stat-icon { color: #2489ff; }
.stat-rocket .work-stat-icon:before { content: "\27A4"; transform: rotate(-45deg); }
.stat-trophy .work-stat-icon { color: #2d8fff; }
.stat-trophy .work-stat-icon:before { content: "\25C7"; }
.work-stats dt { color: #fff; font-size: 31px; line-height: 1; font-weight: 800; margin: 0 0 7px; }
.work-stats dd { color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.2; white-space: nowrap; }

main { background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%); }
.portfolio-tabs { display: none; }
.portfolio-tabs button { min-height: 48px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #1a2a58; font-size: 13px; font-weight: 700; transition: .2s ease; }
.portfolio-tabs button.active, .portfolio-tabs button:hover { color: #fff; background: linear-gradient(135deg, #1b65ff, #5c2fff); box-shadow: 0 12px 26px rgba(27,101,255,.24); }

.work-section, .case-section { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0 64px; }
.work-section:first-of-type { padding-top: 70px; }
.section-head { display: grid; grid-template-columns: .95fr 1.2fr auto; gap: 42px; align-items: center; margin-bottom: 34px; }
.kicker { color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.section-head h2 { color: var(--text); font-size: clamp(28px, 4vw, 38px); line-height: 1.18; font-weight: 700; position: relative; padding-bottom: 14px; }
.section-head h2:after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--blue); border-radius: 4px; }
.section-head p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-head > a, .section-action { min-width: 190px; justify-self: end; border: 1px solid rgba(93,38,255,.38); color: #4f22ff; border-radius: 8px; padding: 13px 18px; font-size: 12px; font-weight: 800; text-align: center; background: rgba(255,255,255,.72); box-shadow: 0 12px 26px rgba(93,38,255,.08); }
.section-head > a:after, .section-action:after { content: "\2192"; margin-left: 10px; }

.project-slider { position: relative; padding: 22px 54px 46px; margin: 0 -54px; overflow: hidden; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.project-track { display: flex; align-items: stretch; justify-content: flex-start; gap: 18px; cursor: grab; touch-action: pan-x; user-select: none; transition: transform .72s cubic-bezier(.22,1,.36,1); will-change: transform; }
.project-track.is-dragging { cursor: grabbing; }
.portfolio-card { position: relative; flex: 0 0 calc((100% - 36px) / 3); overflow: visible; border-radius: 12px; background: #fff; border: 1px solid #ded8ef; box-shadow: 0 16px 38px rgba(17,34,82,.08); transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .55s cubic-bezier(.22,1,.36,1), border-color .55s cubic-bezier(.22,1,.36,1); }
.portfolio-card.is-hidden, .case-grid article.is-hidden { display: none; }
.portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(17,34,82,.14); }
.portfolio-card.is-active { transform: translateY(-10px); box-shadow: 0 26px 58px rgba(93,38,255,.18); border-color: rgba(93,38,255,.34); z-index: 2; }
.portfolio-card img { width: 100%; height: 192px; object-fit: cover; object-position: top center; border-radius: 12px 12px 0 0; background: #eaf0fb; transition: filter .45s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.portfolio-card.is-active img { filter: saturate(1.05) contrast(1.03); }
.portfolio-card div { padding: 18px 18px 22px; }
.portfolio-card p { display: inline-flex; color: #5d26ff; background: #f0ebff; border-radius: 999px; padding: 6px 10px; font-size: 11px; line-height: 1.3; margin-bottom: 12px; font-weight: 700; }
.portfolio-card h3 { color: var(--text); font-size: 17px; line-height: 1.28; font-weight: 800; margin-bottom: 11px; }
.portfolio-card span { display: block; color: var(--muted); font-size: 12px; line-height: 1.65; margin-bottom: 18px; }
.portfolio-card a, .case-grid a { color: #4f22ff; font-size: 12px; font-weight: 800; }
.portfolio-card a:after, .case-grid a:after { content: "\2192"; margin-left: 8px; }
.project-icon { display: none !important; }
.project-icon:before { font-size: 18px; font-weight: 900; }
.project-icon img { width: 22px; height: 22px; border-radius: 0; object-fit: contain; background: transparent; pointer-events: none; }
.project-icon.has-uploaded-icon:before { display: none; }
.project-icon.monitor:before { content: "\25A1"; }
.project-icon.cart:before { content: "\25BF"; }
.project-icon.bag:before { content: "\25A3"; }
.project-icon.spark:before { content: "\2736"; }
.project-icon.brain:before { content: "\2723"; }
.project-icon.chart:before { content: "\2586"; }
.project-icon.layers:before { content: "\25AC"; }
.project-icon.phone:before { content: "\25AF"; }
.slider-arrow { position: absolute; top: 45%; z-index: 3; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #5d26ff; background: #fff; box-shadow: 0 16px 34px rgba(93,38,255,.18); font-size: 28px; line-height: 1; }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 12px; }
.slider-dots button { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #d9d1ff; padding: 0; }
.slider-dots button.active { background: #4f22ff; }

.case-section {
  position: relative;
  padding-top: 46px;
}
.case-section:after {
  content: "";
  position: absolute;
  right: -76px;
  top: 160px;
  width: 170px;
  height: 170px;
  pointer-events: none;
  opacity: .5;
  background: radial-gradient(circle, rgba(93,38,255,.24) 0 1px, transparent 2px) 0 0 / 13px 13px;
}
.case-section .kicker { color: var(--purple); }
.case-section .kicker:before,
.case-section .kicker:after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: rgba(93,38,255,.45);
}
.case-section .kicker:after { margin: 0 0 4px 10px; }
.case-section .section-head h2 {
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
  background: linear-gradient(90deg, #071848 0%, #5d26ff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-section .section-head h2:after { background: var(--purple); width: 52px; height: 4px; }
.case-section .section-head > a {
  min-width: 230px;
  padding: 17px 24px;
  border: 0;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #7037ef, #4f22ff);
  box-shadow: 0 16px 30px rgba(93,38,255,.24);
}
.case-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case-grid article {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  padding: 14px 14px 24px;
  background: #fff;
  border: 1px solid #ded8ef;
  box-shadow: 0 20px 44px rgba(17,34,82,.08);
  transition: .2s ease;
}
.case-grid article:hover { transform: translateY(-5px); box-shadow: 0 28px 56px rgba(93,38,255,.13); }
.case-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 176px;
  flex: 0 0 176px;
  margin-bottom: 16px;
  background: #eee8ff;
}
.case-media a {
  display: block;
  width: 100%;
  height: 100%;
}
.case-media a:after { content: none; }
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.case-media span {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3cff, #4d22f4);
  box-shadow: 0 10px 20px rgba(93,38,255,.28);
  font-size: 15px;
  font-weight: 800;
}
.case-grid .case-tag {
  align-self: flex-start;
  color: #4f22ff;
  background: #f0ebff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 14px;
  max-width: 100%;
  white-space: nowrap;
}
.case-grid h3 {
  color: var(--text);
  font-size: 18px;
  line-height: 1.24;
  font-weight: 800;
  margin: 0 0 10px;
}
.case-grid .case-copy {
  color: #445174;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.58;
  min-height: 82px;
  margin: 0 0 18px;
}
.case-grid dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin: 0 0 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(12,24,72,.1);
}
.case-grid dl div {
  position: relative;
  min-height: 34px;
  padding-left: 42px;
  display: grid;
  align-content: center;
  row-gap: 2px;
}
.case-grid dl div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eee8ff;
}
.case-grid dl div:after {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #5d26ff;
  font-size: 13px;
  font-weight: 900;
}
.metric-sales:after { content: "\2197"; }
.metric-users:after { content: "\2637"; }
.metric-rocket:after { content: "\27A4"; transform: rotate(-45deg); }
.metric-time:after { content: "\25F4"; }
.metric-star:after { content: "\2605"; }
.metric-download:after { content: "\2B07"; }
.metric-chat:after { content: "\25AC"; }
.metric-cost:after { content: "$"; }
.case-grid dt {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
}
.case-grid dd { color: #34446d; font-size: 11px; line-height: 1.25; white-space: nowrap; }
.case-grid a {
  margin: auto 0 0;
  color: #4f22ff;
  font-size: 14px;
  font-weight: 800;
}

.work-cta { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 10% 15%, rgba(255,255,255,.22), transparent 28%), radial-gradient(circle at 82% 20%, rgba(101,228,255,.24), transparent 30%), linear-gradient(112deg, #071848 0%, #155cff 48%, #7b2cff 100%); padding: 58px max(28px, calc((100% - 1320px)/2)); display: grid; grid-template-columns: minmax(280px, 1.05fr) minmax(240px, .9fr) auto auto; gap: 28px; align-items: center; }
.work-cta:before { content: ""; position: absolute; inset: 0; opacity: .22; background: linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.7) 49% 51%, transparent 52% 100%) 0 0 / 42px 42px; pointer-events: none; }
.work-cta:after { content: ""; position: absolute; right: max(20px, calc((100% - 1320px)/2)); top: 50%; width: 210px; height: 210px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); transform: translateY(-50%); pointer-events: none; }
.work-cta > * { position: relative; z-index: 1; }
.work-cta div { display: flex; align-items: center; gap: 22px; min-width: 0; }
.work-cta div span { flex: 0 0 68px; width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 18px 40px rgba(5,15,50,.22); backdrop-filter: blur(8px); }
.work-cta div span:before { content: ""; width: 30px; height: 30px; display: block; background: linear-gradient(135deg, #fff, #65e4ff); clip-path: polygon(50% 0, 64% 34%, 100% 42%, 72% 62%, 79% 100%, 50% 78%, 21% 100%, 28% 62%, 0 42%, 36% 34%); }
.work-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 700; }
.work-cta p { color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.6; max-width: 330px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; padding: 13px 22px; font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; }
.btn.primary { background: #1b65ff; }
.btn.light { background: #fff; color: var(--blue); }
.btn:after { content: "\2192"; margin-left: 8px; }
.work-cta .btn { min-height: 52px; min-width: 172px; border-radius: 8px; box-shadow: 0 16px 32px rgba(5,15,50,.18); }
.work-cta .btn.primary { background: linear-gradient(135deg, #ff4aa2, #7b2cff); }
.work-cta .btn.light { color: #4f22ff; background: rgba(255,255,255,.96); }

.project-modal { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; padding: 20px; }
.project-modal.open { display: flex; }
.project-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 13, 32, .78); backdrop-filter: blur(8px); }
.project-dialog {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(520px, 1.14fr);
  gap: 30px 42px;
  padding: 38px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}
.modal-close { position: absolute; right: 18px; top: 18px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #fff; background: #ff4aa2; font-size: 22px; line-height: 1; }
.project-detail-copy .case-tag { display: inline-flex; color: #5d26ff; background: #f0ebff; border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.project-detail-copy h2 { color: var(--text); font-size: 25px; line-height: 1.25; font-weight: 800; margin-bottom: 14px; }
.project-detail-copy > p:not(.case-tag) { color: #34446d; font-size: 14px; line-height: 1.75; margin-bottom: 22px; }
.project-detail-copy h3 { color: var(--text); font-size: 14px; margin-bottom: 12px; }
.project-detail-copy ul { display: grid; gap: 10px; list-style: none; }
.project-detail-copy li { color: #34446d; font-size: 13px; line-height: 1.45; padding-left: 26px; position: relative; }
.project-detail-copy li:before { content: "\2713"; position: absolute; left: 0; top: 0; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #5d26ff; border: 1px solid #5d26ff; font-size: 10px; }
.project-gallery { min-width: 0; }
.modal-main-image { width: 100%; height: min(46vh, 430px); object-fit: cover; object-position: top center; border-radius: 10px; background: #f1edff; }
.modal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.modal-thumbs button { overflow: hidden; border: 2px solid transparent; border-radius: 6px; padding: 0; background: #f7f4ff; }
.modal-thumbs button.active { border-color: #7c3cff; }
.modal-thumbs img { width: 100%; height: 76px; object-fit: cover; object-position: top center; }
.project-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 18px; border-radius: 12px; background: #f4f0ff; }
.project-meta div { min-width: 0; }
.project-meta dt { color: #5d26ff; font-size: 11px; font-weight: 800; margin-bottom: 4px; }
.project-meta dd { color: #263762; font-size: 12px; line-height: 1.35; }
.modal-live-link { grid-column: 1 / -1; justify-self: center; background: linear-gradient(135deg, #7037ef, #4f22ff); min-width: 190px; }

.work-footer { background: #030c27; color: rgba(255,255,255,.78); padding: 54px max(20px, calc((100% - 1320px)/2)) 24px; display: grid; grid-template-columns: 1.25fr .75fr .95fr .8fr 1fr; gap: 36px; }
.work-footer > div > img { width: 120px; margin-bottom: 18px; }
.work-footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.work-footer p { line-height: 1.7; font-size: 14px; color: rgba(255,255,255,.82); text-transform: none; }
.work-footer > div:first-child > p { color: #fff; opacity: .88; text-transform: none; font-size: 14px; line-height: 1.72; }
.work-footer a { color: rgba(255,255,255,.78); display: block; margin: 8px 0; font-size: 14px; text-transform: none; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: auto; height: auto; margin: 0; background: transparent; color: #fff; display: grid; place-items: center; font-size: 11px; transition: transform .2s ease; }
.footer-social a:hover { transform: translateY(-3px); }
.footer-social img { width: 26px; height: 26px; object-fit: contain; margin: 0; }
.footer-contact { display: grid; align-content: start; gap: 12px; }
.footer-contact p { margin: 0; display: grid; gap: 4px; }
.footer-contact b { color: #fff; font-size: 13px; text-transform: none; }
.footer-contact a, .footer-contact span { margin: 0; color: rgba(255,255,255,.78); font-style: normal; line-height: 1.55; text-transform: none; }
.work-footer form { display: grid; gap: 10px; margin-top: 14px; }
.work-footer input { border: 1px solid rgba(255,255,255,.24); background: transparent; border-radius: 5px; padding: 13px; color: #fff; min-width: 0; }
.work-footer button { border: 0; border-radius: 5px; padding: 13px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; font-weight: 800; }
.copyright { grid-column: 1 / 4; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }
.policy { grid-column: 4 / 6; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: flex-end; gap: 18px; }
.policy a, .policy span { margin: 0; }
.back-top { position: fixed; right: 28px; bottom: 28px; z-index: 4; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(3,12,39,.9); border: 1px solid rgba(255,255,255,.22); font-size: 20px; }

@media (max-width: 1100px) {
  .work-header { position: sticky; top: 0; z-index: 9999; background: var(--navy); }
  .work-menu { display: block; }
  .work-nav { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; transform: none; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; background: rgba(3, 12, 39, .98); padding: 90px 28px 40px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; overflow-y: auto; z-index: 9998; }
  .work-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .work-nav a { font-size: 18px; padding: 14px 16px; min-height: 44px; display: flex; align-items: center; }
  .work-call { display: none; }
  .portfolio-tabs { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head > a, .section-action { justify-self: start; }
  .work-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .project-slider { margin: 0 -20px; padding: 20px 46px 44px; }
  .portfolio-card { flex-basis: calc((100% - 18px) / 2); }
  .case-media { height: 210px; }
  .work-cta { grid-template-columns: 1fr 1fr; }
  .work-footer { grid-template-columns: repeat(2, 1fr); }
  .copyright, .policy { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .work-header { width: calc(100% - 28px); padding: 12px 0; }
  .work-logo { width: 48px; }
  .work-hero, .case-studies-hero { min-height: 53.35vw; background-position: center top; }
  .work-hero-inner { width: calc(100% - 28px); min-height: auto; }
  .work-hero-copy { padding: 54px 0 102px; }
  .work-hero-copy > p:not(.breadcrumb) { font-size: 15px; margin-bottom: 30px; }
  .work-stats { grid-template-columns: 1fr; gap: 0; padding: 16px; }
  .work-stats div { padding: 14px 0; }
  .work-stats div:not(:last-child):after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 1px; }
  .work-stats dt { font-size: 25px; }
  .work-stats dd { font-size: 11px; }
  .portfolio-tabs { width: calc(100% - 28px); grid-template-columns: 1fr; padding: 14px; margin: 24px auto 34px; }
  .work-section, .case-section { width: calc(100% - 28px); padding-bottom: 48px; }
  .work-grid, .case-grid { grid-template-columns: 1fr; }
  .project-slider { margin: 0; padding: 18px 0 42px; overflow: visible; }
  .project-track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 2px 20px; transform: none !important; }
  .portfolio-card, .portfolio-card.is-active { flex: 0 0 86%; scroll-snap-align: center; transform: none; }
  .portfolio-card img, .portfolio-card.is-active img { height: 184px; }
  .slider-arrow { display: none; }
  .portfolio-card img { height: 184px; }
  .case-section .section-head h2 { font-size: 38px; }
  .case-media { height: 220px; }
  .case-grid article { min-height: auto; }
  .work-cta { grid-template-columns: 1fr; padding: 36px 20px; }
  .work-cta div { align-items: flex-start; }
  .work-footer { grid-template-columns: 1fr; gap: 30px; }
  .policy { flex-wrap: wrap; }
  .project-modal { padding: 14px; }
  .project-dialog { grid-template-columns: 1fr; padding: 22px; }
  .modal-main-image { height: 210px; }
  .project-meta { grid-template-columns: repeat(2, 1fr); }
}
