.work-hero {
min-height: calc(88vh - 80px);
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
      align-items: end;
      gap: clamp(55px, 8vw, 140px);
      padding-top: clamp(120px, 10vw, 180px);
      padding-bottom: clamp(95px, 9vw, 145px);
}

.work-eyebrow {
display: block;
      margin-bottom: 28px;
      color: var(--muted);
      font-size: 14px;
}

.work-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(86px, 8.2vw, 164px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.085em;
}

.work-hero-copy {
align-self: end;
      padding-bottom: 8px;
}

.work-hero-copy p {
margin: 0 0 34px;
      font-size: clamp(20px, 1.55vw, 25px);
      line-height: 1.35;
      letter-spacing: -0.03em;
}

.work-index {
padding-top: 36px;
      padding-bottom: clamp(120px, 12vw, 190px);
}

.work-toolbar {
display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 30px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--line);
}

.work-toolbar h2 {
margin: 0;
      font-size: 30px;
      font-weight: 400;
      letter-spacing: -0.04em;
}

.work-toolbar sup {
font-size: 9px;
}

.work-filters {
display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
}

.work-filter {
min-height: 34px;
      padding: 0 15px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: transparent;
      cursor: pointer;
      font-size: 12px;
      transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.work-filter:hover,
    .work-filter.active {
border-color: var(--text);
      background: var(--text);
      color: var(--page-background);
}

.work-grid {
display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: clamp(65px, 8vw, 120px) clamp(28px, 4.5vw, 74px);
      padding-top: clamp(58px, 6vw, 95px);
}

.work-card {
min-width: 0;
      display: block;
}

.work-card.hidden {
display: none;
}

.work-card-media {
position: relative;
      width: 100%;
      aspect-ratio: 1.36 / 1;
      overflow: hidden;
      border-radius: 28px;
      background: #d9d9d9;
      transform: translateZ(0);
}

.work-card-media::after {
content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.08),
        rgba(0,0,0,0.05)
      );
      pointer-events: none;
}

.work-card-visual {
position: absolute;
      inset: 0;
      transition:
        transform 0.55s cubic-bezier(.2,.8,.2,1),
        filter 0.55s ease;
}

.work-card:hover .work-card-visual,
    .work-card:focus-visible .work-card-visual {
transform: scale(1.035);
      filter: saturate(1.08);
}

.work-card-info {
display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 25px;
      padding-top: 20px;
}

.work-card-info h3 {
margin: 0 0 8px;
      font-size: clamp(28px, 3vw, 44px);
      font-weight: 400;
      line-height: 1;
      letter-spacing: -0.055em;
}

.work-card-info p {
margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
}

.work-card-year {
padding-top: 4px;
      font-size: clamp(23px, 2.4vw, 34px);
      letter-spacing: -0.05em;
}

.visual-bautechnik {
background:
        linear-gradient(145deg, rgba(21,43,61,.12), rgba(255,255,255,.1)),
        #dfe3e5;
}

.visual-bautechnik .mock-browser {
position: absolute;
      top: 11%;
      right: 8%;
      bottom: 10%;
      left: 8%;
      overflow: hidden;
      border-radius: 18px;
      background: #f7f7f5;
      box-shadow: 0 24px 50px rgba(0,0,0,.14);
      transform: rotate(-2deg);
}

.visual-bautechnik .mock-browser::before {
content: "";
      display: block;
      height: 9%;
      background: #172e3b;
}

.visual-bautechnik .mock-sidebar {
position: absolute;
      top: 9%;
      bottom: 0;
      left: 0;
      width: 19%;
      background: #e9ecec;
}

.visual-bautechnik .mock-lines {
position: absolute;
      top: 19%;
      right: 8%;
      left: 27%;
      height: 62%;
      background:
        linear-gradient(#17303d 0 0) 0 0 / 42% 8% no-repeat,
        linear-gradient(#cbd2d5 0 0) 0 24% / 100% 2px no-repeat,
        linear-gradient(#dce1e3 0 0) 0 40% / 76% 10% no-repeat,
        linear-gradient(#dce1e3 0 0) 0 61% / 88% 10% no-repeat,
        linear-gradient(#dce1e3 0 0) 0 82% / 63% 10% no-repeat;
}

.visual-mountain {
background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.72), transparent 22%),
        linear-gradient(135deg, #aec6d1, #dce7eb 52%, #9faf9c);
}

.visual-mountain .mountain-shape {
position: absolute;
      right: -8%;
      bottom: -12%;
      left: -8%;
      height: 78%;
      background: #5d7169;
      clip-path: polygon(0 100%, 13% 58%, 28% 74%, 44% 24%, 56% 52%, 70% 18%, 100% 100%);
}

.visual-mountain .map-card {
position: absolute;
      top: 11%;
      left: 10%;
      width: 31%;
      aspect-ratio: .62 / 1;
      border: 7px solid #111;
      border-radius: 27px;
      background:
        radial-gradient(circle at 65% 30%, #f3a75e 0 4%, transparent 5%),
        linear-gradient(145deg, #dfeadf, #9eb8a6);
      box-shadow: 0 22px 45px rgba(0,0,0,.22);
      transform: rotate(5deg);
}

.visual-mountain .map-card::after {
content: "Explore";
      position: absolute;
      right: 10%;
      bottom: 9%;
      left: 10%;
      padding: 7px 8px;
      border-radius: 999px;
      background: #111;
      color: #fff;
      font: 500 8px/1 "Inter", sans-serif;
      text-align: center;
}

.visual-karryfast {
background: linear-gradient(145deg, #f3b74f, #f47736);
}

.visual-karryfast .phone {
position: absolute;
      top: 8%;
      bottom: 8%;
      width: 29%;
      border: 7px solid #161616;
      border-radius: 28px;
      background: #fff;
      box-shadow: 0 22px 45px rgba(0,0,0,.22);
}

.visual-karryfast .phone:first-child {
left: 17%;
      transform: rotate(-7deg);
}

.visual-karryfast .phone:last-child {
right: 17%;
      transform: rotate(7deg);
}

.visual-karryfast .phone::before {
content: "";
      position: absolute;
      top: 7%;
      right: 12%;
      left: 12%;
      height: 30%;
      border-radius: 13px;
      background: #f2a13b;
}

.visual-karryfast .phone::after {
content: "";
      position: absolute;
      right: 12%;
      bottom: 9%;
      left: 12%;
      height: 42%;
      background:
        linear-gradient(#242424 0 0) 0 0 / 65% 9% no-repeat,
        linear-gradient(#ddd 0 0) 0 24% / 100% 8% no-repeat,
        linear-gradient(#ddd 0 0) 0 45% / 82% 8% no-repeat,
        linear-gradient(#111 0 0) 0 82% / 100% 16% no-repeat;
}

.visual-openmove {
background: linear-gradient(135deg, #101d31, #253d5e);
}

.visual-openmove .dashboard {
position: absolute;
      top: 10%;
      right: 7%;
      bottom: 10%;
      left: 7%;
      overflow: hidden;
      border-radius: 17px;
      background: #f7f8fb;
      box-shadow: 0 24px 55px rgba(0,0,0,.3);
      transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}

.visual-openmove .dashboard::before {
content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: 20%;
      background: #17243a;
}

.visual-openmove .dashboard::after {
content: "";
      position: absolute;
      top: 14%;
      right: 7%;
      bottom: 12%;
      left: 27%;
      background:
        linear-gradient(#223b63 0 0) 0 0 / 45% 8% no-repeat,
        linear-gradient(90deg, #dce3ed 33%, transparent 33% 35%, #dce3ed 35% 68%, transparent 68% 70%, #dce3ed 70%) 0 25% / 100% 31% no-repeat,
        linear-gradient(#e7ebf1 0 0) 0 72% / 100% 2px no-repeat,
        linear-gradient(#d6dde8 0 0) 0 86% / 72% 8% no-repeat;
}

.visual-sidera {
background: linear-gradient(135deg, #d7e2ec, #9eb6c9);
}

.visual-sidera .sidera-panel {
position: absolute;
      top: 15%;
      right: 10%;
      bottom: 15%;
      left: 10%;
      border-radius: 22px;
      background: #f8f9fa;
      box-shadow: 0 24px 55px rgba(0,0,0,.16);
      transform: rotate(3deg);
}

.visual-sidera .sidera-panel::before {
content: "SIDERA";
      position: absolute;
      top: 13%;
      left: 10%;
      color: #2f5771;
      font: 600 clamp(20px, 3vw, 42px)/1 "Inter", sans-serif;
      letter-spacing: .08em;
}

.visual-sidera .sidera-panel::after {
content: "";
      position: absolute;
      right: 10%;
      bottom: 15%;
      left: 10%;
      height: 44%;
      background:
        linear-gradient(#b7cbd8 0 0) 0 0 / 100% 23% no-repeat,
        linear-gradient(#d7e2e8 0 0) 0 48% / 72% 12% no-repeat,
        linear-gradient(#d7e2e8 0 0) 0 78% / 88% 12% no-repeat;
}

.visual-villa {
background:
        linear-gradient(rgba(76,66,50,.12), rgba(76,66,50,.12)),
        linear-gradient(145deg, #d6ccb9, #eee8dc);
}

.visual-villa .villa-window {
position: absolute;
      top: 8%;
      right: 13%;
      bottom: 8%;
      left: 13%;
      overflow: hidden;
      border-radius: 150px 150px 18px 18px;
      background:
        linear-gradient(to bottom, #a8c5cf 0 36%, #d9cab6 36% 65%, #6f8468 65%);
      box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

.visual-villa .villa-window::before {
content: "";
      position: absolute;
      right: 23%;
      bottom: 28%;
      left: 23%;
      height: 32%;
      background: #efe7db;
      clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
}

.visual-villa .villa-window::after {
content: "VILLA MAGNOLIA";
      position: absolute;
      right: 0;
      bottom: 10%;
      left: 0;
      color: #fff;
      font: 500 clamp(11px, 1.4vw, 18px)/1 "Inter", sans-serif;
      letter-spacing: .16em;
      text-align: center;
}

.visual-respirart {
background: linear-gradient(145deg, #c4d8d3, #e8eee9);
}

.visual-respirart .forest {
position: absolute;
      inset: 0;
      background:
        linear-gradient(78deg, transparent 46%, rgba(52,80,64,.62) 47% 50%, transparent 51%) 8% 0 / 16% 100%,
        linear-gradient(82deg, transparent 46%, rgba(52,80,64,.46) 47% 50%, transparent 51%) 30% 0 / 20% 100%,
        linear-gradient(75deg, transparent 46%, rgba(52,80,64,.54) 47% 50%, transparent 51%) 70% 0 / 18% 100%;
}

.visual-respirart .forest::after {
content: "RESPIRART";
      position: absolute;
      right: 7%;
      bottom: 9%;
      color: #29483a;
      font: 500 clamp(18px, 2.8vw, 38px)/1 "Inter", sans-serif;
      letter-spacing: .09em;
}

.visual-ski {
background: linear-gradient(155deg, #d7e6ef, #f6f8f9 52%, #88a8bf);
}

.visual-ski .ski-card {
position: absolute;
      top: 12%;
      right: 9%;
      bottom: 12%;
      left: 9%;
      overflow: hidden;
      border-radius: 18px;
      background:
        linear-gradient(160deg, transparent 0 45%, #b9cfdb 46% 60%, #7997aa 61%);
      box-shadow: 0 22px 50px rgba(0,0,0,.16);
      transform: rotate(-3deg);
}

.visual-ski .ski-card::before {
content: "SCUOLA ITALIANA SCI";
      position: absolute;
      top: 10%;
      left: 8%;
      max-width: 46%;
      color: #17374c;
      font: 600 clamp(14px, 2vw, 27px)/1.05 "Inter", sans-serif;
}

.visual-ski .ski-card::after {
content: "";
      position: absolute;
      right: 13%;
      bottom: 9%;
      width: 12%;
      height: 48%;
      border-radius: 999px;
      background: #e5533c;
      transform: rotate(18deg);
}

.work-note {
display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      gap: 45px;
      padding-top: clamp(125px, 12vw, 200px);
      padding-bottom: clamp(95px, 9vw, 145px);
}

.work-note h2 {
max-width: 1050px;
      margin: 0;
      font-size: clamp(54px, 6.8vw, 108px);
      font-weight: 400;
      line-height: 0.91;
      letter-spacing: -0.07em;
}

.work-note .pill-button {
min-width: 138px;
}

@media (max-width: 900px) {
.work-hero {
grid-template-columns: 1fr;
        align-items: start;
}
}

@media (max-width: 900px) {
.work-hero-copy {
max-width: 650px;
}
}

@media (max-width: 900px) {
.work-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 900px) {
.work-note {
grid-template-columns: 1fr;
        align-items: start;
}
}

@media (max-width: 900px) {
.work-note .pill-button {
justify-self: end;
}
}

@media (max-width: 680px) {
.work-hero {
min-height: auto;
        gap: 52px;
        padding-top: 72px;
        padding-bottom: 82px;
}
}

@media (max-width: 680px) {
.work-eyebrow {
margin-bottom: 20px;
        font-size: 12px;
}
}

@media (max-width: 680px) {
.work-hero h1 {
font-size: clamp(68px, 19vw, 96px);
        line-height: 0.86;
}
}

@media (max-width: 680px) {
.work-hero-copy p {
margin-bottom: 30px;
        font-size: 19px;
}
}

@media (max-width: 680px) {
.work-index {
padding-top: 20px;
        padding-bottom: 100px;
}
}

@media (max-width: 680px) {
.work-toolbar {
align-items: flex-start;
        flex-direction: column;
        gap: 22px;
}
}

@media (max-width: 680px) {
.work-toolbar h2 {
font-size: 27px;
}
}

@media (max-width: 680px) {
.work-filters {
justify-content: flex-start;
}
}

@media (max-width: 680px) {
.work-filter {
min-height: 32px;
        padding-inline: 13px;
        font-size: 11px;
}
}

@media (max-width: 680px) {
.work-grid {
gap: 68px;
        padding-top: 48px;
}
}

@media (max-width: 680px) {
.work-card-media {
border-radius: 22px;
}
}

@media (max-width: 680px) {
.work-card-info {
gap: 18px;
        padding-top: 16px;
}
}

@media (max-width: 680px) {
.work-card-info h3 {
font-size: 31px;
}
}

@media (max-width: 680px) {
.work-card-year {
font-size: 24px;
}
}

@media (max-width: 680px) {
.work-note {
gap: 42px;
        padding-top: 105px;
        padding-bottom: 82px;
}
}

@media (max-width: 680px) {
.work-note h2 {
font-size: clamp(48px, 13vw, 70px);
}
}

@media (max-width: 680px) {
.work-note .pill-button {
justify-self: end;
        align-self: flex-end;
}
}

/*
|--------------------------------------------------------------------------
| Sidera real thumbnail image
|--------------------------------------------------------------------------
*/
.visual-sidera {
  background: linear-gradient(145deg, rgba(18, 28, 35, 0.08), rgba(255,255,255,0.55)), #dbe3ea;
}

.visual-sidera .sidera-panel {
  display: none;
}

.work-card-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


/* Bautechnik real project thumbnail */
.visual-bautechnik .work-card-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Mountain Maps real project thumbnail */
.visual-mountain .work-card-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
