.demo02-section {
  --demo-lilac: #c7a9ff;
  --demo-border: #ffffff23;
  width: min(89%, 1480px);
  min-width: 0;
  margin-inline: auto;
  color: #f8f6fc;
  font-family: inherit;
  scroll-margin-top: 7rem;
}
.demo02-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5.5vw, 6rem);
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: .99;
  color: inherit;
}
.demo02-section h2 em { color: var(--demo-lilac); font-style: normal; }
.demo02-section h2 + p {
  margin: 1.25rem 0 0;
  max-width: 53ch;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: #e5dfee;
}
.demo02-section [hidden] { display: none !important; }
.demo02-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.demo02-control, .demo02-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  width: fit-content;
  min-height: 2.75rem;
  padding: .6rem 1rem;
  border: 1px solid #c7a9ff78;
  border-radius: 2rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  color: #f9f6ff;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
.demo02-control:is(:hover, [aria-pressed="true"]), .demo02-link,
.demo02-link:is(:hover, :focus-visible) {
  color: #170f24;
  background: var(--demo-lilac);
}
.demo02-control:focus-visible, .demo02-link:focus-visible, .flow-steps button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.flow-demo {
  margin-block: clamp(2rem, 4vw, 4rem) clamp(3rem, 7vw, 8rem);
  padding: clamp(1.25rem, 4vw, 4rem);
  border: 1px solid var(--demo-border);
  border-radius: 1.3rem;
  background: radial-gradient(ellipse at 93% 0%, #382452 0%, #1e172c 54%, #1b1824 100%);
}
.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: stretch;
  margin-block: 2rem 1.3rem;
}
.flow-steps, .theone-method ol { margin: 0; padding: 0; list-style: none; }
.flow-steps { display: grid; align-content: start; gap: .55rem; }
.flow-steps button {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  min-height: 3.4rem;
  padding: .65rem .8rem;
  border: 1px solid var(--demo-border);
  border-radius: .65rem;
  background: #100e18b8;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.flow-steps button span { color: var(--demo-lilac); font-variant-numeric: tabular-nums; }
.flow-steps button:is(:hover, [aria-pressed="true"]) { background: #3f2b57; border-color: var(--demo-lilac); }
.flow-view {
  display: grid;
  align-content: start;
  height: 100%;
  min-height: 14rem;
  border: 1px solid var(--demo-border);
  border-radius: .85rem;
  background: #14111b;
}
.flow-window {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--demo-border);
  padding: .75rem 1rem;
  font-size: .88rem;
  color: var(--demo-lilac);
}
.flow-inner { padding: clamp(1rem, 2vw, 1.7rem); }
.flow-inner p { margin: .75rem 0; line-height: 1.45; }
.flow-status {
  display: inline-block;
  padding: .25rem .6rem;
  background: #c7a9ff25;
  color: #ecdfff;
  font-size: .82rem;
  border-radius: 1rem;
}
.flow-message {
  padding: .85rem 1rem;
  border-left: 2px solid var(--demo-lilac);
  background: #ffffff0c;
  color: #ebe2f6;
  line-height: 1.5;
}
.theone-projects { margin-block: clamp(3rem, 7vw, 8rem); }
.project-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1.8rem 1.2rem; }
.project-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.75rem); }
.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--demo-border);
  border-radius: 1rem;
  overflow: hidden;
  background: #201a2b;
}
.project-card > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.project-copy { display: grid; flex: 1; grid-template-rows: auto auto 1fr auto; padding: clamp(1rem, 2.2vw, 1.9rem); }
.project-copy h3 { margin: .55rem 0 .4rem; color: #fff; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.04em; line-height: 1.15; }
.project-copy p { margin: 0 0 1rem; color: #e5dfee; line-height: 1.5; }
.project-copy .project-category { margin: 0; color: var(--demo-lilac); font-size: .82rem; }
dialog.project-dialog {
  position: fixed;
  inset: 0;
  width: min(100% - 2rem, 70rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1rem, 3.5vw, 3rem);
  border: 1px solid #c7a9ff72;
  border-radius: 1rem;
  background: #1a1623;
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.project-dialog::backdrop { background: #070510d9; }
.project-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.project-dialog h3 { margin: 0; font-size: clamp(1.5rem, 3.5vw, 3rem); color: #fff; }
.project-dialog figure { margin: 0; }
.project-dialog figure img { width: 100%; max-height: 52dvh; height: auto; object-fit: contain; display: block; background: #100e16; border-radius: .7rem; }
.project-dialog figcaption { margin-top: .4rem; color: #d7cbe9; font-size: .86rem; }
.project-dialog dl { margin: 1.25rem 0 0; }
.project-dialog dt { color: var(--demo-lilac); font-weight: 700; }
.project-dialog dd { margin: .25rem 0 1rem; color: #ebe6f1; }
.theone-method { margin-block: clamp(3rem, 7vw, 7rem); }
.theone-method ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-block: clamp(1.7rem, 4vw, 3.4rem) 1.6rem;
}
.theone-method li {
  position: relative;
  margin: 0;
  padding: 1.3rem .25rem 0 0;
  border-top: 1px solid #c7a9ff80;
}
.theone-method li::before {
  content: '';
  position: absolute;
  top: -.35rem;
  left: 0;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--demo-lilac);
}
.theone-method li h3 { margin: 0 0 .55rem; color: #fff; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.theone-method li p { margin: 0; color: #e5dfee; line-height: 1.55; }
.theone-contact {
  scroll-margin-top: 5rem;
  padding-block: clamp(2rem, 6vw, 5rem);
  background: #1c1625;
  border-top: 1px solid #c7a9ff45;
}
.theone-contact .demo02-section { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.theone-contact .contact-wordmark { font-size: clamp(2.4rem, 5vw, 5.2rem); font-weight: 850; letter-spacing: -.09em; color: #fff; }
.theone-contact .contact-wordmark span { color: var(--demo-lilac); }
.theone-contact h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.theone-contact .demo02-link { margin-top: 1rem; }
.theone-hero .intro-progress { display: none; }
.theone-hero.motion .intro-progress {
  display: block;
  position: absolute;
  z-index: 8;
  bottom: clamp(1rem, 3.3svh, 2rem);
  left: 50%;
  width: min(30vw, 15rem);
  height: 3px;
  border-radius: 5px;
  background: #c7a9ff44;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}
.theone-hero .intro-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #c7a9ff;
  transform: scaleX(var(--intro-progress, 0));
  transform-origin: left;
}
@media (max-width: 850px) {
  .project-cards, .theone-method ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .flow-layout, .project-cards { grid-template-columns: minmax(0, 1fr); }
  .theone-contact .demo02-section { flex-direction: column; }
}
@media (max-width: 360px) {
  .theone-method ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .theone-hero.motion .intro-progress { display: none; }
}
