.work {
  color: #111820;
  background: #fff;
}
.portfolio-nav {
  border-bottom: 1px solid #dfe4e9;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  min-height: 76px;
}
.studio-name {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(1.06rem, 1.55vw, 1.4rem);
}
.nav-divider {
  height: 22px;
  width: 1px;
  background: #c6ccd1;
}
.nav-descriptor,
.index-link {
  font-size: 0.88rem;
}
.nav-descriptor {
  color: #535f69;
}
.index-link {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}
.index-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  background:
    linear-gradient(#fff, #fff) 50% 0/2px 100%,
    linear-gradient(#fff, #fff) 0 50%/100% 2px,
    #192633;
  background-repeat: no-repeat;
}
.portfolio-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2.75rem, 5.3vw, 5.8rem) 0 clamp(2.2rem, 3vw, 3.7rem);
}
.portfolio-intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: 0.12em;
  color: #485567;
}
.blue-rule {
  width: 29px;
  height: 2px;
  background: #3867f4;
}
.portfolio-intro h1 {
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.075em;
  font-size: clamp(4.15rem, 7.6vw, 8.5rem);
  margin-top: 0.7rem;
}
.portfolio-intro h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  color: #3058bd;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.intro-copy {
  max-width: 325px;
  color: #46525c;
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 0.4rem;
}
.collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #c8d0d8;
  padding: 1.05rem 0 1.2rem;
}
.filters {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.filters button {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.05rem;
  min-height: 40px;
  border: 1px solid #d6dce2;
  background: white;
  border-radius: 99px;
}
.filters button[aria-pressed="true"] {
  background: #15202c;
  color: white;
  border-color: #15202c;
}
.filters button:hover {
  border-color: #647382;
}
.count {
  font-size: 0.875rem;
  color: #515e68;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.6rem 1.6rem;
}
.project {
  min-width: 0;
}
.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 1.85;
  overflow: hidden;
}
.iron .stage {
  background: #b9ccdf;
}
.maison .stage {
  background: #edbdc7;
}
.fresh .stage {
  background: #b9ddd9;
}
.project .device-group {
  width: 83%;
  aspect-ratio: 1.76;
  position: relative;
  pointer-events: none;
}
.device {
  position: absolute;
  box-shadow: 0 14px 30px -8px #17273155;
  overflow: hidden;
}
.desktop {
  top: 4%;
  left: 0;
  width: 90%;
  height: 89%;
  background: white;
  border: 3px solid #26313b;
  border-radius: 7px;
}
.device-bar {
  display: flex;
  gap: 3px;
  align-items: center;
  padding-left: 8px;
  height: 5%;
  min-height: 7px;
  background: #f3f5f6;
  border-bottom: 1px solid #d4d9df;
}
.device-bar i {
  height: 3px;
  width: 3px;
  border-radius: 100%;
  background: #9aa5ad;
}
.device iframe {
  border: 0;
  position: absolute;
  left: 0;
  top: 5%;
  width: 1100px;
  height: 760px;
  transform-origin: top left;
  pointer-events: none;
  background: white;
}
.phone {
  right: 0;
  bottom: 0;
  width: 20%;
  height: 75%;
  background: #21252b;
  border: 3px solid #22272c;
  border-radius: clamp(6px, 1vw, 14px);
  box-shadow: 0 12px 16px -8px #12233366;
}
.phone .device-bar {
  display: none;
}
.phone iframe {
  width: 375px;
  height: 840px;
  top: 0;
}
.device-group {
  transition: transform 0.3s ease;
}
.stage:hover .device-group {
  transform: translateY(-3px);
}
.card-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
}
.category {
  color: #475564;
  font-size: 0.75rem;
}
.card-detail h2 {
  font-size: clamp(1.8rem, 3.3vw, 3.6rem);
  margin: 0.32rem 0 0.48rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.065em;
}
.card-detail .capabilities {
  color: #52606c;
  line-height: 1.55;
  max-width: 33rem;
  font-size: 0.95rem;
}
.link-circle {
  flex-shrink: 0;
  border: 1px solid #c6d0da;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.6rem;
  border-radius: 50%;
}
.link-circle svg {
  width: 18px;
  height: 18px;
}
.link-circle span {
  display: none;
}
.link-circle:hover {
  background: #f1f5fa;
}
.project-grid .iron {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
  color: white;
  background: #14202b;
}
.iron .stage {
  aspect-ratio: 2.05;
}
.iron .device-group {
  width: 80%;
}
.iron .card-detail {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3.8vw, 4rem);
  gap: 2rem;
}
.iron .category {
  color: #bbd3ee;
}
.iron .card-detail h2 {
  font-size: clamp(2rem, 4.05vw, 5rem);
  margin: 0.9rem 0;
}
.iron .capabilities {
  color: #d6e0e9;
  font-size: 1rem;
}
.iron .link-circle {
  border-color: #8193a2;
  border-radius: 3px;
  padding: 0.65rem 1.05rem;
  font-size: 0.875rem;
}
.iron .link-circle span {
  display: inline;
}
.iron .link-circle:hover {
  background: #2b3e4f;
}
.project-grid.filtered .project:only-of-type {
  grid-column: auto;
}
.portfolio-footer {
  border-top: 1px solid #d1d8de;
  margin-top: 4rem;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: #54616c;
}
.portfolio-footer span:first-child {
  color: #18232f;
  font-weight: 600;
}
@media (max-width: 850px) {
  .nav-descriptor,
  .nav-divider {
    display: none;
  }
  .intro-copy {
    max-width: 275px;
  }
  .project-grid .iron {
    grid-template-columns: 1.6fr 1fr;
  }
  .iron .stage {
    aspect-ratio: auto;
    min-height: 245px;
  }
  .iron .card-detail {
    gap: 1rem;
  }
  .device-group {
    width: 89%;
  }
}
@media (max-width: 650px) {
  .nav-inner {
    min-height: 59px;
  }
  .portfolio-intro {
    display: block;
    padding: 2.6rem 0 1.7rem;
  }
  .intro-copy {
    margin-top: 1.05rem;
    max-width: 31rem;
  }
  .portfolio-intro h1 {
    font-size: clamp(3.6rem, 15vw, 5rem);
  }
  .collection-head {
    align-items: flex-start;
  }
  .count {
    display: none;
  }
  .filters {
    gap: 0.35rem;
  }
  .filters button {
    font-size: 0.8rem;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .project-grid .iron {
    display: block;
    background: white;
    color: inherit;
  }
  .iron .stage,
  .stage {
    aspect-ratio: 1.65;
    min-height: auto;
  }
  .iron .card-detail,
  .card-detail {
    padding: 1.2rem 0;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }
  .iron .card-detail h2,
  .card-detail h2 {
    font-size: 2.15rem;
    margin: 0.3rem 0;
  }
  .iron .category {
    color: #475564;
  }
  .iron .capabilities {
    color: #52606c;
    font-size: 0.95rem;
  }
  .iron .link-circle {
    border-radius: 50%;
    border-color: #c6d0da;
    padding: 0.6rem;
  }
  .iron .link-circle span {
    display: none;
  }
  .iron .link-circle:hover {
    background: #f1f5fa;
  }
  .portfolio-footer {
    margin-top: 2rem;
    flex-wrap: wrap;
  }
  .phone {
    border-width: 2px;
  }
  .desktop {
    border-width: 2px;
  }
}
.work .wrap{width:100%;max-width:none;padding-inline:var(--studio-gutter);}
.work-header{padding:0 var(--studio-gutter);background:#091522;color:#f8fbff}
.work-header .studio-header{margin:0;border:0}
.ember .stage{background:#ceb69a}.garden .stage{background:#a2b69d}.advisory .stage{background:#a2b5c9}
@media(min-width:651px){.project-grid .advisory{grid-column:1/-1;display:grid;grid-template-columns:1.65fr 1fr;background:#edf2f7}.project-grid .advisory .card-detail{padding:clamp(1.6rem,3.7vw,4rem);align-items:start;justify-content:center;flex-direction:column}.advisory .stage{min-height:230px}.advisory .link-circle{border-radius:3px}.advisory .link-circle span{display:inline}}
