/*--------------------------------------------------------------
# Digital Wheel — Page components (Careers, Projects)
# Uses brand tokens from digital-wheel.css (:root)
--------------------------------------------------------------*/

.dw-section { padding: 100px 0; position: relative; }
.dw-section--light { background: var(--DW-light); }
.dw-section--tight { padding: 70px 0; }

.dw-eyebrow {
  display: inline-block;
  font-family: var(--DW-font-two);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--DW-green);
  margin-bottom: 12px;
}

.dw-h2 {
  font-family: var(--DW-font-two);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: var(--DW-black);
  margin-bottom: 18px;
}

.dw-lead { font-size: 19px; line-height: 1.7; color: var(--DW-gray); }

/* ---------- Chips / pills ---------- */
.dw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dw-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--DW-light); color: var(--DW-black);
  font-size: 14px; line-height: 1.4; font-weight: 500;
  border: 1px solid var(--DW-border);
}
.dw-chip i { color: var(--DW-base); font-size: 12px; }
.dw-chip--green { background: rgba(var(--DW-green-rgb), .12); border-color: rgba(var(--DW-green-rgb), .35); color: #3f7445; }
.dw-chip--blue { background: rgba(var(--DW-base-rgb), .08); border-color: rgba(var(--DW-base-rgb), .25); color: var(--DW-base); }

.dw-filter {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 0 50px; padding: 0; list-style: none;
}
.dw-filter a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--DW-border); background: #fff;
  color: var(--DW-black); font-family: var(--DW-font-two); font-weight: 500; font-size: 15px; line-height: 1.2;
  transition: all .25s ease;
}
.dw-filter a span {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--DW-light); color: var(--DW-gray); font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.dw-filter a:hover { border-color: var(--DW-base); color: var(--DW-base); }
.dw-filter a.is-active { background: var(--DW-base); border-color: var(--DW-base); color: #fff; }
.dw-filter a.is-active span { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Buttons ---------- */
.dw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--DW-bdr-radius);
  background: var(--DW-base); color: #fff !important;
  font-family: var(--DW-font-two); font-weight: 600; font-size: 16px; line-height: 1.2;
  border: 0; transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.dw-btn:hover { background: var(--DW-green); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--DW-base-rgb), .18); }
.dw-btn--ghost { background: transparent; color: var(--DW-base) !important; border: 1.5px solid var(--DW-base); }
.dw-btn--ghost:hover { background: var(--DW-base); color: #fff !important; }
.dw-btn--block { width: 100%; }
.dw-btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Careers: perks ---------- */
.dw-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dw-perk {
  background: #fff; border: 1px solid var(--DW-border); border-radius: 14px; padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dw-perk:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(var(--DW-black-rgb), .07); }
.dw-perk__icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--DW-base-rgb), .08); color: var(--DW-base); font-size: 20px; margin-bottom: 14px;
}
.dw-perk:nth-child(even) .dw-perk__icon { background: rgba(var(--DW-green-rgb), .14); color: #3f7445; }
.dw-perk h4 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.dw-perk p { font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Careers: job cards ---------- */
.dw-jobs { display: flex; flex-direction: column; gap: 18px; }
.dw-job {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--DW-border); border-radius: 16px; padding: 28px 32px;
  position: relative; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.dw-job:hover { border-color: rgba(var(--DW-base-rgb), .4); box-shadow: 0 18px 40px rgba(var(--DW-black-rgb), .07); transform: translateY(-2px); }
.dw-job--featured { border-left: 4px solid var(--DW-green); }
.dw-job__dept { font-family: var(--DW-font-two); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--DW-green); }
.dw-job__title { font-size: 24px; font-weight: 700; margin: 4px 0 10px; }
.dw-job__title a { color: var(--DW-black); }
.dw-job__title a::after { content: ""; position: absolute; inset: 0; }
.dw-job__summary { font-size: 16px; line-height: 1.6; margin: 12px 0 0; max-width: 720px; }
.dw-job__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; position: relative; z-index: 2; }
.dw-job__deadline { font-size: 13px; color: var(--DW-gray); }
.dw-badge-featured {
  display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: var(--DW-green); color: #fff; margin-left: 8px; vertical-align: middle; font-family: var(--DW-font-two);
}

.dw-empty {
  text-align: center; background: #fff; border: 1px dashed var(--DW-border); border-radius: 16px; padding: 60px 30px;
}
.dw-empty i { font-size: 40px; color: var(--DW-base); margin-bottom: 16px; }

/* ---------- Hiring process ---------- */
.dw-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.dw-step { position: relative; background: #fff; border-radius: 14px; padding: 26px 20px; border: 1px solid var(--DW-border); }
.dw-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--DW-font-two); font-weight: 700; font-size: 30px; color: rgba(var(--DW-base-rgb), .18);
  display: block; line-height: 1; margin-bottom: 12px;
}
.dw-step h5 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.dw-step p { font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- Job details ---------- */
.dw-job-body h3 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.dw-job-body h3:first-child { margin-top: 0; }
.dw-job-body .dw-rich p, .dw-job-body .dw-rich li { font-size: 17px; line-height: 1.75; }
.dw-list { list-style: none; padding: 0; margin: 0; }
.dw-list li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 17px; line-height: 1.6; }
.dw-list li::before {
  content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 11px;
  position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(var(--DW-green-rgb), .16); color: #3f7445; display: flex; align-items: center; justify-content: center;
}
.dw-list--plus li::before { content: "\f067"; background: rgba(var(--DW-base-rgb), .08); color: var(--DW-base); }

.dw-sidecard {
  position: sticky; top: 120px;
  background: #fff; border: 1px solid var(--DW-border); border-radius: 16px; padding: 28px;
  box-shadow: 0 18px 40px rgba(var(--DW-black-rgb), .06);
}
.dw-sidecard h4 { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.dw-meta { list-style: none; margin: 0 0 22px; padding: 0; }
.dw-meta li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--DW-border); font-size: 15px; line-height: 1.4; }
.dw-meta li:last-child { border-bottom: 0; }
.dw-meta span:first-child { color: var(--DW-gray); display: inline-flex; gap: 8px; align-items: center; }
.dw-meta span:first-child i { color: var(--DW-base); width: 16px; text-align: center; }
.dw-meta span:last-child { color: var(--DW-black); font-weight: 600; text-align: right; }
.dw-share { display: flex; gap: 8px; margin-top: 18px; justify-content: center; }
.dw-share a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--DW-light); color: var(--DW-base); transition: all .2s ease;
}
.dw-share a:hover { background: var(--DW-base); color: #fff; }

.dw-note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px;
  background: rgba(var(--DW-green-rgb), .1); border: 1px solid rgba(var(--DW-green-rgb), .3);
  font-size: 15px; line-height: 1.6;
}
.dw-note i { color: #3f7445; font-size: 18px; margin-top: 3px; }

/* ---------- Application form ---------- */
.dw-form-card {
  background: #fff; border-radius: 20px; padding: 48px; border: 1px solid var(--DW-border);
  box-shadow: 0 24px 60px rgba(var(--DW-black-rgb), .06);
}
.dw-fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.dw-fieldset legend {
  font-family: var(--DW-font-two); font-weight: 700; font-size: 20px; color: var(--DW-black);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px; float: none; width: auto;
}
.dw-fieldset legend span {
  width: 30px; height: 30px; border-radius: 50%; background: var(--DW-base); color: #fff;
  font-size: 14px; display: inline-flex; align-items: center; justify-content: center;
}
.dw-field { margin-bottom: 18px; }
.dw-field label { display: block; font-weight: 600; font-size: 15px; color: var(--DW-black); margin-bottom: 7px; line-height: 1.4; }
.dw-field label .req { color: #d14343; margin-left: 2px; }
.dw-field label .opt { color: var(--DW-muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.dw-input, .dw-select, .dw-textarea {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 10px;
  border: 1.5px solid var(--DW-border); background: #fff; color: var(--DW-black);
  font-family: var(--DW-font); font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.dw-textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.dw-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--DW-gray) 50%), linear-gradient(135deg, var(--DW-gray) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px; background-size: 6px 6px; background-repeat: no-repeat; }
.dw-input:focus, .dw-select:focus, .dw-textarea:focus { border-color: var(--DW-base); box-shadow: 0 0 0 4px rgba(var(--DW-base-rgb), .1); outline: none; }
.dw-input.is-invalid, .dw-select.is-invalid, .dw-textarea.is-invalid { border-color: #d14343; }
.dw-error { color: #d14343; font-size: 13px; margin-top: 6px; line-height: 1.4; }
.dw-help { color: var(--DW-muted); font-size: 13px; margin-top: 6px; line-height: 1.4; }

.dw-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.dw-check { position: relative; margin: 0; }
.dw-check input { position: absolute; opacity: 0; pointer-events: none; }
.dw-check span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--DW-border); font-size: 15px; line-height: 1.2; cursor: pointer; transition: all .2s ease; user-select: none; font-weight: 500;
}
.dw-check span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--DW-muted); transition: all .2s ease; }
.dw-check input:checked + span { border-color: var(--DW-base); background: rgba(var(--DW-base-rgb), .06); color: var(--DW-base); }
.dw-check input:checked + span::before { background: var(--DW-base); border-color: var(--DW-base); box-shadow: inset 0 0 0 2px #fff; }
.dw-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--DW-base-rgb), .2); }
.dw-check--radio span::before { border-radius: 50%; }

.dw-upload {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px;
  border: 1.5px dashed var(--DW-border); background: var(--DW-light); cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.dw-upload:hover, .dw-upload.is-dragover { border-color: var(--DW-base); background: rgba(var(--DW-base-rgb), .04); }
.dw-upload i { font-size: 26px; color: var(--DW-base); }
.dw-upload strong { display: block; font-size: 15px; color: var(--DW-black); line-height: 1.3; }
.dw-upload small { display: block; font-size: 13px; color: var(--DW-muted); line-height: 1.4; }
.dw-upload input { display: none; }
.dw-upload.has-file { border-style: solid; border-color: var(--DW-green); background: rgba(var(--DW-green-rgb), .08); }
.dw-upload.has-file i { color: #3f7445; }

.dw-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.dw-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--DW-base); flex-shrink: 0; }
.dw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.dw-alert { border-radius: 12px; padding: 16px 20px; margin-bottom: 26px; font-size: 15px; line-height: 1.6; }
.dw-alert--error { background: #fdf0f0; border: 1px solid #f3c7c7; color: #8a2b2b; }
.dw-alert ul { margin: 6px 0 0 18px; padding: 0; }

.dw-success { text-align: center; padding: 30px 10px; }
.dw-success__icon {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: rgba(var(--DW-green-rgb), .15); color: #3f7445; display: flex; align-items: center; justify-content: center; font-size: 34px;
}

/* ---------- Projects grid ---------- */
.dw-search { max-width: 460px; margin: 0 auto 26px; position: relative; }
.dw-search input { padding-left: 46px; border-radius: 999px; }
.dw-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--DW-muted); }

.dw-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dw-card {
  position: relative; display: block; border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--DW-border); transition: transform .35s ease, box-shadow .35s ease;
}
.dw-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(var(--DW-black-rgb), .12); }
.dw-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--DW-light); }
.dw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dw-card:hover .dw-card__media img { transform: scale(1.06); }
.dw-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(var(--DW-black-rgb), .85) 100%);
}
.dw-card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--DW-base);
  font-family: var(--DW-font-two); font-weight: 600; font-size: 13px; line-height: 1.2; backdrop-filter: blur(6px);
}
.dw-card__badge--featured { left: auto; right: 16px; background: var(--DW-green); color: #fff; }
.dw-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; color: #fff; }
.dw-card__type { font-size: 14px; opacity: .85; margin: 0 0 4px; line-height: 1.4; color: #fff; }
.dw-card__title { font-size: 23px; font-weight: 700; line-height: 1.2; color: #fff; margin: 0; display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.dw-card__arrow {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--DW-green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transform: translateX(-6px) rotate(-45deg); opacity: 0; transition: all .35s ease;
}
.dw-card:hover .dw-card__arrow { transform: translateX(0) rotate(-45deg); opacity: 1; }

.dw-pagination { margin-top: 50px; display: flex; justify-content: center; }
.dw-pagination .pagination { gap: 6px; }
.dw-pagination .page-link { border-radius: 10px !important; border: 1px solid var(--DW-border); color: var(--DW-black); min-width: 44px; text-align: center; }
.dw-pagination .page-item.active .page-link { background: var(--DW-base); border-color: var(--DW-base); color: #fff; }

/* ---------- Project single ---------- */
.dw-hero {
  position: relative; min-height: 560px; display: flex; align-items: flex-end;
  background: var(--DW-black) center / cover no-repeat; color: #fff; padding: 180px 0 70px; overflow: hidden;
}
.dw-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--DW-black-rgb), .35) 0%, rgba(var(--DW-black-rgb), .88) 100%); }
.dw-hero .container { position: relative; z-index: 2; }
.dw-hero__crumbs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 15px; }
.dw-hero__crumbs a { color: rgba(255,255,255,.75); }
.dw-hero__crumbs a:hover { color: #fff; }
.dw-hero__crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.4); }
.dw-hero h1 { color: #fff; font-size: clamp(36px, 5.5vw, 68px); line-height: 1.05; font-weight: 700; max-width: 900px; margin-bottom: 20px; }
.dw-hero .dw-chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.dw-hero .dw-chip i { color: var(--DW-green); }

.dw-factbar {
  position: relative; z-index: 3; margin-top: -46px;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(var(--DW-black-rgb), .1);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center;
}
.dw-fact { padding: 24px 28px; border-right: 1px solid var(--DW-border); }
.dw-fact small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--DW-muted); font-weight: 600; margin-bottom: 4px; }
.dw-fact strong { font-family: var(--DW-font-two); font-size: 17px; color: var(--DW-black); font-weight: 600; line-height: 1.3; display: block; }
.dw-factbar__cta { padding: 18px 24px; }

.dw-rich { font-size: 18px; line-height: 1.8; color: var(--DW-gray); }
.dw-rich h2, .dw-rich h3, .dw-rich h4 { margin: 30px 0 14px; }
.dw-rich ul { padding-left: 20px; }
.dw-rich img { max-width: 100%; height: auto; border-radius: 12px; }

.dw-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.dw-gallery__item {
  grid-column: span 4; position: relative; border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in;
  aspect-ratio: 16 / 10; border: 1px solid var(--DW-border); padding: 0;
}
.dw-gallery__item:nth-child(5n + 1) { grid-column: span 8; }
.dw-gallery__item:nth-child(5n + 2) { grid-column: span 4; }
.dw-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dw-gallery__item:hover img { transform: scale(1.04); }
.dw-gallery__item::after {
  content: "\f00e"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; right: 14px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--DW-base);
  display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: all .25s ease;
}
.dw-gallery__item:hover::after { opacity: 1; transform: scale(1); }

.dw-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(var(--DW-black-rgb), .14); background: #000; }
.dw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.dw-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dw-pn a {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; border: 1px solid var(--DW-border); background: #fff;
  transition: all .25s ease; min-height: 100px;
}
.dw-pn a:hover { border-color: var(--DW-base); box-shadow: 0 14px 30px rgba(var(--DW-black-rgb), .07); }
.dw-pn img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.dw-pn small { display: block; color: var(--DW-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.dw-pn strong { display: block; font-family: var(--DW-font-two); color: var(--DW-black); font-size: 18px; line-height: 1.3; }
.dw-pn .is-next { justify-content: flex-end; text-align: right; }

.dw-cta {
  background: var(--DW-base); border-radius: 24px; padding: 60px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.dw-cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 50px solid rgba(var(--DW-green-rgb), .35);
}
.dw-cta h3 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 700; margin: 0 0 8px; position: relative; z-index: 1; }
.dw-cta p { color: rgba(255,255,255,.8); margin: 0; position: relative; z-index: 1; }
.dw-cta .dw-btn { background: #fff; color: var(--DW-base) !important; position: relative; z-index: 1; flex-shrink: 0; }
.dw-cta .dw-btn:hover { background: var(--DW-green); color: #fff !important; }

/* ---------- Lightbox ---------- */
.dw-lightbox {
  position: fixed; inset: 0; z-index: 99999; background: rgba(4, 12, 26, .94);
  display: none; align-items: center; justify-content: center; padding: 60px 80px;
}
.dw-lightbox.is-open { display: flex; }
.dw-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.dw-lightbox button {
  position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%;
  font-size: 20px; cursor: pointer; transition: background .2s ease;
}
.dw-lightbox button:hover { background: var(--DW-green); }
.dw-lightbox__close { top: 20px; right: 20px; }
.dw-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.dw-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.dw-lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .dw-steps { grid-template-columns: repeat(3, 1fr); }
  .dw-factbar { grid-template-columns: repeat(2, 1fr); }
  .dw-fact:nth-child(2) { border-right: 0; }
  .dw-fact { border-bottom: 1px solid var(--DW-border); }
  .dw-factbar__cta { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .dw-section { padding: 70px 0; }
  .dw-projects { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dw-sidecard { position: static; margin-top: 40px; }
  .dw-cta { flex-direction: column; text-align: center; padding: 44px 28px; }
  .dw-gallery__item, .dw-gallery__item:nth-child(5n + 1), .dw-gallery__item:nth-child(5n + 2) { grid-column: span 6; }
}
@media (max-width: 767px) {
  .dw-perks { grid-template-columns: 1fr; }
  .dw-steps { grid-template-columns: 1fr 1fr; }
  .dw-job { grid-template-columns: 1fr; padding: 22px; }
  .dw-job__side { align-items: flex-start; text-align: left; }
  .dw-projects { grid-template-columns: 1fr; }
  .dw-form-card { padding: 26px 18px; border-radius: 16px; }
  .dw-factbar { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .dw-fact { padding: 16px 18px; }
  .dw-pn { grid-template-columns: 1fr; }
  .dw-gallery__item, .dw-gallery__item:nth-child(5n + 1), .dw-gallery__item:nth-child(5n + 2) { grid-column: span 12; }
  .dw-hero { min-height: 440px; padding: 140px 0 70px; }
  .dw-lightbox { padding: 60px 10px; }
  .dw-lightbox__prev, .dw-lightbox__next { top: auto; bottom: 14px; transform: none; }
}

/*--------------------------------------------------------------
# Projects page — classic "work showcase" grid (isotope)
--------------------------------------------------------------*/
.dw-pf { padding: 100px 0 70px; }
.dw-pf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.dw-pf__search { position: relative; width: 320px; max-width: 100%; margin: 0; }
.dw-pf__search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--DW-muted); font-size: 14px; }
.dw-pf__search input {
  width: 100%; height: 50px; padding: 0 18px 0 44px; border-radius: 999px;
  border: 1.5px solid var(--DW-border); background: #fff; font-family: var(--DW-font); font-size: 15px; color: var(--DW-black);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dw-pf__search input:focus { border-color: var(--DW-base); box-shadow: 0 0 0 4px rgba(var(--DW-base-rgb), .1); outline: none; }

/* filter bar: keep the template's underline style, tidy spacing */
.dw-pf__filter {
  display: flex; flex-wrap: wrap; gap: 6px 30px; margin: 0 0 40px !important; padding: 0 0 18px;
  border-bottom: 1px solid var(--DW-border);
}
.dw-pf__filter li { margin: 0 !important; padding: 0 !important; cursor: pointer; outline: none; }
.dw-pf__filter li .filter-text { font-family: var(--DW-font-two); font-weight: 500; letter-spacing: .04em; }
.dw-pf__filter li .count { margin-left: 3px; font-size: 12px; position: relative; top: -6px; }
.dw-pf__filter li:focus-visible .filter-text { color: var(--DW-base); }

/* cards */
.dw-pf__grid { margin-bottom: -30px; }
.dw-pf__item { margin-bottom: 30px; }
.dw-pf__card.project-one__single {
  display: block; margin: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(var(--DW-black-rgb), .06);
  transition: box-shadow .45s ease, transform .45s ease;
  isolation: isolate;
}
.dw-pf__card:hover { box-shadow: 0 28px 60px rgba(var(--DW-black-rgb), .18); transform: translateY(-6px); }
.dw-pf__card .project-one__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--DW-black); }
.dw-pf__card .project-one__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .6s ease; }
.dw-pf__card:hover .project-one__img img { transform: scale(1.08); filter: saturate(1.1); }

/* gradient + blue tint that deepens on hover */
.dw-pf__card .project-one__img::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--DW-black-rgb), 0) 40%, rgba(var(--DW-black-rgb), .88) 100%);
  transition: background .5s ease;
}
.dw-pf__card:hover .project-one__img::after {
  background: linear-gradient(180deg, rgba(var(--DW-base-rgb), .15) 0%, rgba(var(--DW-black-rgb), .92) 100%);
}

/* caption: sits at the bottom, flies up on hover */
.dw-pf__card .project-one__hover {
  padding: 28px 28px 26px; z-index: 2; border-radius: 0;
  transform: translateY(46px);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
.dw-pf__card .project-one__hover::before { display: none; }
.dw-pf__card:hover .project-one__hover { transform: translateY(0); }
.dw-pf__card .project-one__tagline {
  display: inline-block; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 12px; line-height: 1; letter-spacing: .1em;
}
.dw-pf__card .project-one__tagline::before { display: none; }
.dw-pf__card .project-one__title { color: #fff; font-size: 26px; line-height: 1.15; text-transform: none; font-weight: 700; margin: 0; padding-right: 56px; }
.dw-pf__type {
  margin: 8px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.45;
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease .08s, transform .45s ease .08s;
}
.dw-pf__card:hover .dw-pf__type { opacity: 1; transform: none; }
.dw-pf__arrow {
  position: absolute; right: 26px; bottom: 72px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--DW-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px;
  transform: rotate(-45deg) scale(.6); opacity: 0;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1) .1s, opacity .3s ease .1s;
}
.dw-pf__card:hover .dw-pf__arrow { transform: rotate(-45deg) scale(1); opacity: 1; }
.dw-pf__featured {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  padding: 7px 12px; border-radius: 999px; background: var(--DW-green); color: #fff;
  font-family: var(--DW-font-two); font-size: 12px; font-weight: 600; line-height: 1;
}
.dw-pf__featured i { font-size: 10px; margin-right: 3px; }
.dw-pf__empty { margin-top: 10px; }

/* touch screens: no hover, so show everything */
@media (hover: none) {
  .dw-pf__card .project-one__hover { transform: none; }
  .dw-pf__type { opacity: 1; transform: none; }
  .dw-pf__arrow { opacity: 1; transform: rotate(-45deg) scale(.85); }
}
@media (max-width: 767px) {
  .dw-pf { padding: 70px 0 50px; }
  .dw-pf__filter { gap: 6px 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .dw-pf__filter::-webkit-scrollbar { display: none; }
  .dw-pf__filter li { flex-shrink: 0; }
  .dw-pf__card .project-one__title { font-size: 22px; }
}
