/* Product-specific presentation; the corporate shell keeps its shared black-and-white system. */
.portfolio-intro {
  padding-bottom: 46px;
}
.portfolio-intro h1 {
  font-size: clamp(38px, 4.4vw, 62px);
}
.portfolio-jumps {
  padding-bottom: 74px;
}
.portfolio-section {
  padding-bottom: 96px;
  scroll-margin-top: 96px;
}
.portfolio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.portfolio-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.portfolio-heading h2 span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
}
.portfolio-heading p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.portfolio-heading .text-link {
  flex: 0 0 auto;
  font-size: 14px;
}
.portfolio-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
}
.portfolio-feature--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
}
.portfolio-feature--reverse .media-frame {
  grid-column: 2;
  grid-row: 1;
}
.portfolio-feature--reverse .portfolio-copy {
  grid-column: 1;
  grid-row: 1;
}
.portfolio-feature .media-frame {
  aspect-ratio: 1.22;
  min-width: 0;
  border-radius: 8px;
}
.portfolio-copy h3 {
  margin: 21px 0;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.4;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.portfolio-copy > p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.product-keywords {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin: 24px 0 28px;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.product-keywords li + li::before {
  content: '·';
  padding-right: 17px;
}
.portfolio-services .portfolio-heading {
  padding-bottom: 34px;
  align-items: flex-end;
}
.portfolio-services .portfolio-heading .eyebrow {
  display: block;
  margin-bottom: 19px;
}
.portfolio-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-service-grid .media-frame {
  aspect-ratio: 1.45;
}
.portfolio-service-grid .business-wordmark {
  font-size: clamp(26px, 3vw, 45px);
}
.portfolio-service-grid .business-label {
  font-size: 12px;
}
.portfolio-service-grid .tomodel-wordmark {
  font-size: clamp(27px, 3.9vw, 62px);
}
.portfolio-service-grid .tocoin-wordmark {
  font-size: clamp(30px, 3.6vw, 56px);
}
.service-card-copy {
  padding-top: 23px;
}
.service-card-copy h3 {
  margin: 12px 0;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.service-card-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  min-height: 74px;
}
.service-card-copy ul {
  list-style: none;
  margin: 21px 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 2.15;
}
.service-card-copy li::before {
  content: '↗';
  margin-right: 10px;
  color: var(--ink);
}
.service-card-copy .text-link {
  font-size: 14px;
}
.portfolio-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-top: 56px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
}
.portfolio-custom h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin: 20px 0 0;
}
.portfolio-custom p {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.custom-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 25px 0 32px;
  font-size: 13px;
}
.product-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #242522;
  container-type: inline-size;
}
.product-scene--sol {
  background: #eae7df;
  padding: 7%;
}
.scene-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 13px;
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  color: #747772;
  letter-spacing: 0.015em;
}
.mini-workspace {
  width: 100%;
  background: #f9f9f6;
  border: 1px solid #d8d7d0;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 18px 45px #4b432010;
}
.mini-windowbar {
  height: 39px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #f1f0eb;
  border-bottom: 1px solid #deded7;
  color: #858680;
  font-size: 9px;
}
.mini-windowbar > img {
  width: 95px;
  height: auto;
  max-width: 35%;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #db785f;
}
.window-dots i:nth-child(2) {
  background: #dfbc5b;
}
.window-dots i:nth-child(3) {
  background: #97b781;
}
.mini-workspace-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1.3fr;
  min-height: 300px;
  font-size: 10px;
}
.mini-sidebar {
  background: #f0efe9;
  padding: 19px 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #74756d;
}
.mini-sidebar span {
  white-space: nowrap;
  padding-left: 3px;
}
.mini-sidebar .mini-sidebar-label {
  font-size: 8px;
  padding-top: 11px;
}
.mini-current {
  background: #e5e3da;
  padding-block: 7px;
  border-radius: 4px;
  color: #30352e;
}
.mini-chat {
  padding: 19px 13px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mini-label {
  display: block;
  color: #91928a;
  font-size: 9px;
}
.mini-bubble {
  margin: 22px 0 22px 13px;
  padding: 12px;
  background: #efeee9;
  border-radius: 8px;
  line-height: 1.8;
}
.mini-assistant {
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.mini-assistant img {
  width: 10px;
  height: 22px;
}
.mini-assistant p {
  margin: 0;
  color: #63665f;
  font-size: 9px;
  line-height: 1.9;
}
.mini-artifact {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dddcd4;
  border-radius: 6px;
  margin-top: 19px;
}
.mini-artifact > span {
  color: #b45d36;
  font-size: 14px;
}
.mini-artifact small {
  display: block;
  font-size: 8px;
  color: #91928a;
  padding-top: 3px;
}
.mini-composer {
  margin-top: auto;
  padding: 10px 0 0;
  font-size: 8px;
  color: #91928a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-composer span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #b5633c;
  color: white;
  text-align: center;
  font-size: 12px;
}
.mini-paper {
  border-left: 1px solid #e0dfd7;
  background: #fffefa;
  margin: 10px 10px 10px 0;
  padding: 25px 17px;
  box-shadow: 0 3px 14px #38372905;
}
.mini-paper h4 {
  font-family: Georgia, 'Songti SC', serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  margin: 20px 0;
}
.mini-paper p {
  font-size: 9px;
  color: #74766c;
  line-height: 1.9;
  margin-bottom: 22px;
}
.mini-paper > i {
  display: block;
  height: 2px;
  background: #e3e2d9;
  width: 100%;
  margin-top: 8px;
}
.mini-paper > i:nth-of-type(3) {
  width: 65%;
}
.mini-paper blockquote {
  margin: 27px 0 0;
  padding-left: 10px;
  border-left: 2px solid #c2754e;
  font-size: 10px;
  color: #77786f;
  line-height: 1.8;
}
.product-scene--day {
  background: #edf1f7;
  padding: 30px 25px 35px;
}
.scene-phones {
  width: 82%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 23px;
}
.scene-phone-wrap {
  min-width: 0;
}
.scene-phone-wrap > span {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #798295;
  margin-bottom: 13px;
}
.scene-phone-wrap:nth-child(2) {
  transform: translateY(21px);
}
.story-phone {
  background: #f8fafe;
  color: #252c39;
  border: 4px solid #cfd3d8;
  outline: 1px solid #fafcfd;
  border-radius: 27px;
  overflow: hidden;
  box-shadow: 0 14px 32px #35496712;
}
.story-phone--screen > img {
  display: block;
  width: 100%;
  height: auto;
}
.story-phone--wardrobe {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1206/2622;
}
.story-phone-top {
  height: 23px;
  flex-shrink: 0;
  padding: 7px 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
}
.story-phone-top i {
  background: #151617;
  width: 28%;
  height: 10px;
  border-radius: 10px;
}
.story-phone-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 13px 11px 7px;
  flex-shrink: 0;
}
.story-phone-brand img {
  width: 9px;
  height: 20px;
}
.story-phone-content {
  padding: 8px 11px 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.phone-meta {
  font-size: 7px;
  color: #7f8793;
}
.story-phone h4 {
  font-size: 10px;
  margin: 8px 0 8px;
  line-height: 1.5;
  font-weight: 500;
}
.wardrobe-result {
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 5px;
  min-height: 0;
  flex: 1;
}
.wardrobe-person {
  min-height: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.wardrobe-person > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.wardrobe-pieces {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 3px;
}
.wardrobe-pieces > div {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px;
  border-radius: 5px;
  background: #fff;
}
.wardrobe-pieces img {
  min-height: 0;
  width: 100%;
  flex: 1;
  object-fit: contain;
}
.wardrobe-pieces span {
  font-size: 5px;
  line-height: 1.5;
  color: #8d94a1;
}
.phone-result-note {
  display: block;
  text-align: center;
  font-size: 6px;
  padding: 9px 0;
  color: #7d8797;
}
.story-phone-bottom {
  display: flex;
  justify-content: space-around;
  padding: 10px 4px 15px;
  font-size: 7px;
  color: #818c9c;
  border-top: 1px solid #e4e8ef;
  flex-shrink: 0;
}
.story-phone-bottom span:first-child {
  color: #2966c4;
}
.product-experience {
  scroll-margin-top: 90px;
}
.experience-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
  font-size: 14px;
}
.experience-heading span:last-child {
  color: var(--muted);
  font-size: 12px;
}
.workspace-stage {
  background: #f9f9f6;
  border: 1px solid #d8d7d0;
  border-radius: 8px;
  overflow: hidden;
}
.workspace-stage .mini-windowbar {
  height: 44px;
}
.workspace-stage .mini-windowbar > img {
  width: 110px;
}
.workspace-stage iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 830px;
  background: #f9f9f6;
  pointer-events: none;
}
.experience-caption {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
}
.product-intro .product-status {
  font-size: 12px;
  margin-top: 20px;
  color: var(--muted);
}
.product-experience + .section .capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.usecase-grid article {
  background: var(--soft);
  border-radius: 8px;
  padding: 29px;
}
.usecase-grid h3 {
  margin: 25px 0 18px;
  font-size: 23px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.usecase-grid p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.story-tabs {
  display: flex;
  gap: 29px;
  border-bottom: 1px solid var(--line);
  justify-content: center;
  margin-bottom: 32px;
}
.story-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--muted);
  padding: 14px 5px;
  cursor: pointer;
}
.story-tabs button[aria-selected='true'] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.day-story {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 650px;
  background: var(--soft);
  border-radius: 8px;
  overflow: hidden;
}
.day-story + .day-story {
  margin-top: 30px;
}
.day-story[role='tabpanel'] {
  margin-top: 0;
}
.day-story-copy {
  padding: 50px clamp(22px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.day-story-copy h2 {
  font-size: clamp(28px, 2.7vw, 40px);
  margin: 20px 0;
  line-height: 1.45;
  letter-spacing: -0.03em;
}
.day-story-copy > p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}
.story-steps {
  margin: 27px 0 17px;
  padding: 0;
  list-style: none;
  align-self: stretch;
}
.story-steps li + li {
  border-top: 1px solid var(--line);
}
.story-steps button {
  text-align: left;
  border: 0;
  width: 100%;
  background: transparent;
  color: var(--muted);
  display: flex;
  gap: 13px;
  padding: 15px 0;
  font: inherit;
  cursor: pointer;
  opacity: 0.65;
}
.story-steps button > span {
  font-size: 10px;
  padding-top: 3px;
}
.story-steps strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.story-steps small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
}
.story-steps button[aria-current='step'] {
  color: var(--ink);
  opacity: 1;
}
.story-steps button:hover {
  opacity: 1;
}
.story-play {
  margin-top: auto;
  font-size: 13px;
  border: 0;
  padding: 8px 0;
  background: transparent;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}
.day-story-visual {
  background: #edf1f7;
  padding: 40px;
  display: grid;
  place-items: center;
  min-width: 0;
  position: relative;
}
.story-scene {
  width: 100%;
}
.story-scene .story-phone {
  width: min(100%, 254px);
  margin: 0 auto;
}
.story-scene .story-phone-top {
  height: 29px;
  padding: 9px 15px 0;
  font-size: 9px;
}
.story-scene .story-phone-top i {
  height: 15px;
}
.story-scene .story-phone-brand {
  padding: 16px 16px 9px;
  font-size: 12px;
}
.story-scene .story-phone-brand img {
  width: 11px;
  height: 25px;
}
.story-scene .story-phone-content {
  padding: 8px 14px 0;
}
.story-scene .phone-meta {
  font-size: 9px;
}
.story-scene .story-phone h4 {
  font-size: 14px;
  margin-top: 8px;
}
.story-scene .wardrobe-result {
  gap: 7px;
}
.story-scene .wardrobe-pieces {
  gap: 5px;
}
.story-scene .wardrobe-pieces span {
  font-size: 8px;
}
.story-scene .phone-result-note {
  font-size: 8px;
  padding: 13px 0;
}
.story-scene .story-phone-bottom {
  font-size: 10px;
  padding: 14px 5px 21px;
}
.story-conversation {
  width: min(100%, 330px);
  min-height: 455px;
  margin: 0 auto;
  background: #f8fafe;
  border: 1px solid #dbe2ed;
  border-radius: 20px;
  padding: 23px;
  color: #253042;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 32px #35496709;
}
.story-conversation .story-phone-brand {
  padding: 0 0 24px;
  font-size: 14px;
}
.story-conversation .story-phone-brand img {
  width: 12px;
  height: 28px;
}
.story-conversation h3 {
  margin: auto 0;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  color: #5267ba;
  line-height: 1.5;
}
.story-input {
  padding: 16px;
  background: white;
  border: 1px solid #dae2ed;
  border-radius: 18px;
  font-size: 13px;
  color: #647086;
  line-height: 1.8;
}
.story-input > span {
  margin: 15px 0 0 auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #185ece;
  color: white;
  border-radius: 50%;
  font-size: 15px;
}
.story-chat-user {
  background: #e8eef9;
  border-radius: 14px;
  padding: 15px;
  font-size: 13px;
  max-width: 92%;
  align-self: flex-end;
  line-height: 1.85;
}
.story-conversation > p {
  font-size: 13px;
  line-height: 1.85;
  margin: 23px 0;
}
.story-context {
  margin-top: auto;
  padding-top: 25px;
  color: #8d97a7;
  font-size: 10px;
}
.day-story[data-playing='true'] .story-scene {
  animation: story-appear 0.5s ease both;
}
@keyframes story-appear {
  from {
    opacity: 0.25;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[data-theme='dark'] .portfolio-feature .media-frame,
[data-theme='dark'] .day-story-visual {
  border: 1px solid #333;
}
@container (max-width: 480px) {
  .mini-workspace-body {
    min-height: 250px;
    grid-template-columns: 1fr 1.05fr;
  }
  .mini-sidebar {
    display: none;
  }
  .mini-chat {
    padding-inline: 11px;
  }
  .mini-paper {
    padding-inline: 13px;
  }
  .mini-paper h4 {
    font-size: 16px;
  }
  .scene-phones {
    width: 94%;
    gap: 14px;
  }
  .story-phone {
    border-width: 3px;
    border-radius: 19px;
  }
  .story-phone-top {
    height: 18px;
    font-size: 5px;
    padding-inline: 9px;
  }
  .story-phone-top i {
    height: 8px;
  }
  .story-phone-brand {
    font-size: 7px;
    padding: 8px 8px 4px;
  }
  .story-phone-brand img {
    width: 7px;
    height: 16px;
  }
  .story-phone-content {
    padding: 5px 7px 0;
  }
  .phone-meta {
    font-size: 5px;
  }
  .story-phone h4 {
    font-size: 7px;
    margin: 5px 0;
  }
  .phone-result-note {
    font-size: 4px;
    padding: 7px 0;
  }
  .story-phone-bottom {
    font-size: 5px;
    padding: 7px 3px 11px;
  }
  .wardrobe-pieces span {
    font-size: 4px;
  }
}
@media (max-width: 1000px) {
  .portfolio-feature,
  .portfolio-feature--reverse {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 32px;
  }
  .portfolio-feature--reverse .media-frame,
  .portfolio-feature--reverse .portfolio-copy {
    grid-column: auto;
    grid-row: auto;
  }
  .portfolio-copy h3 {
    font-size: 29px;
  }
  .product-keywords {
    gap: 7px 12px;
  }
  .product-keywords li + li::before {
    display: none;
  }
  .portfolio-service-grid {
    gap: 18px;
  }
  .day-story {
    grid-template-columns: 1fr 1fr;
  }
  .day-story-copy {
    padding: 34px 25px;
  }
  .day-story-visual {
    padding: 30px 24px;
  }
}
@media (max-width: 800px) {
  .portfolio-intro {
    padding-bottom: 32px;
  }
  .portfolio-jumps {
    padding-bottom: 46px;
  }
  .portfolio-section {
    padding-bottom: 60px;
  }
  .portfolio-feature,
  .portfolio-feature--reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
  .portfolio-feature .media-frame {
    aspect-ratio: 1.55;
  }
  .portfolio-copy {
    max-width: 560px;
  }
  .portfolio-copy h3 {
    margin: 14px 0;
    font-size: 32px;
  }
  .portfolio-copy h3 br {
    display: none;
  }
  .portfolio-copy > p {
    max-width: none;
    font-size: 15px;
  }
  .product-keywords {
    margin: 18px 0;
  }
  .portfolio-service-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .portfolio-service-grid article {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 26px;
    align-items: start;
  }
  .portfolio-service-grid .media-frame {
    aspect-ratio: 1;
  }
  .service-card-copy {
    padding-top: 0;
  }
  .service-card-copy h3 {
    font-size: 24px;
  }
  .service-card-copy > p {
    min-height: 0;
  }
  .service-card-copy ul {
    margin: 14px 0;
    padding-top: 12px;
  }
  .portfolio-custom {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 35px;
    padding-bottom: 30px;
  }
  .portfolio-custom h2 {
    font-size: 33px;
    margin-top: 14px;
  }
  .portfolio-custom h2 br {
    display: none;
  }
  .portfolio-custom p {
    font-size: 15px;
  }
  .day-story {
    grid-template-columns: 1fr;
  }
  .day-story-copy {
    padding: 32px 28px;
  }
  .day-story-copy h2 br {
    display: none;
  }
  .day-story-copy h2 {
    margin: 14px 0;
  }
  .day-story-visual {
    min-height: 610px;
  }
  .usecase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .usecase-grid h3 {
    margin: 18px 0 12px;
    font-size: 23px;
  }
  .product-experience + .section .capability-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .portfolio-intro h1 {
    font-size: clamp(29px, 8.6vw, 39px);
    line-height: 1.4;
  }
  .portfolio-intro .lead {
    font-size: 15px;
  }
  .portfolio-jumps {
    gap: 8px;
    padding-bottom: 34px;
  }
  .portfolio-jumps a {
    font-size: 11px;
    padding: 10px 12px;
  }
  .portfolio-heading {
    padding: 20px 0;
    gap: 12px;
  }
  .portfolio-heading h2 {
    font-size: 25px;
  }
  .portfolio-heading h2 span {
    font-size: 12px;
    display: block;
    padding-top: 4px;
  }
  .portfolio-heading .text-link {
    font-size: 11px;
  }
  .portfolio-heading p {
    font-size: 12px;
    margin-top: 5px;
  }
  .portfolio-feature .media-frame {
    aspect-ratio: 1.13;
  }
  .portfolio-copy h3 {
    font-size: 27px;
  }
  .portfolio-services .portfolio-heading {
    display: block;
  }
  .portfolio-services .portfolio-heading h2 {
    font-size: 29px;
  }
  .portfolio-services .portfolio-heading > p {
    margin-top: 15px;
  }
  .portfolio-service-grid article {
    display: block;
  }
  .portfolio-service-grid .media-frame {
    aspect-ratio: 1.7;
  }
  .service-card-copy {
    padding-top: 23px;
  }
  .portfolio-service-grid .tomodel-wordmark,
  .portfolio-service-grid .tocoin-wordmark {
    font-size: 49px;
  }
  .portfolio-service-grid .business-wordmark {
    font-size: 35px;
  }
  .scene-note {
    font-size: 8px;
    bottom: 11px;
  }
  .product-scene--day {
    padding: 20px 17px 30px;
  }
  .scene-phone-wrap > span {
    font-size: 8px;
    margin-bottom: 9px;
  }
  .scene-phone-wrap:nth-child(2) {
    transform: translateY(10px);
  }
  .experience-heading {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
  }
  .experience-caption {
    font-size: 11px;
  }
  .story-tabs {
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 22px;
  }
  .story-tabs button {
    font-size: 12px;
    padding-inline: 0;
  }
  .day-story-copy {
    padding: 29px 22px;
  }
  .day-story-copy h2 {
    font-size: 28px;
  }
  .day-story-copy h2 br {
    display: block;
  }
  .day-story-copy > p {
    font-size: 14px;
  }
  .day-story-visual {
    min-height: 572px;
    padding: 32px 17px;
  }
  .story-scene .story-phone {
    width: min(100%, 230px);
  }
  .story-conversation {
    min-height: 440px;
    padding: 19px;
  }
  .story-conversation h3 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .day-story[data-playing='true'] .story-scene {
    animation: none;
  }
}

/* Keep the full window visible when the directory becomes narrow. */
@container (max-width: 480px) {
  .mini-workspace-body {
    display: block;
    min-height: 0;
  }
  .mini-paper,
  .mini-assistant,
  .mini-composer {
    display: none;
  }
  .mini-windowbar {
    height: 32px;
  }
  .mini-chat {
    padding: 14px;
    font-size: 11px;
  }
  .mini-bubble {
    padding: 9px;
    line-height: 1.7;
    margin: 12px 0 12px auto;
    width: fit-content;
    min-width: 65%;
  }
  .mini-artifact {
    margin-top: 0;
    padding: 7px 10px;
  }
}
@media (min-width: 561px) and (max-width: 800px) {
  .portfolio-feature .media-frame[data-demo='solconcord'] {
    aspect-ratio: 1.25;
  }
}
.scene-phones {
  width: 66%;
}
@container (max-width: 480px) {
  .scene-phones {
    width: 78%;
  }
}
@media (min-width: 561px) and (max-width: 800px) {
  .portfolio-feature .media-frame[data-demo='dayitao'] {
    aspect-ratio: 1.2;
  }
}
@media (max-width: 560px) {
  .portfolio-feature .media-frame[data-demo='solconcord'] {
    aspect-ratio: 1;
  }
  .portfolio-feature .media-frame[data-demo='dayitao'] {
    aspect-ratio: 0.98;
  }
  .portfolio-copy h3 br {
    display: block;
  }
}
