:root { --lime: #c6fa59; --lilac: #b99dff; }
.intro, body#top .services-intro { position: relative; }
.intro::before, .intro::after { content: none; }
body#top .intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(210px, 25vw, 330px); gap: 16px; align-items: center; }
body#top .intro h1 { font-size: clamp(2.45rem, 6.45vw, 5.7rem); }
.shape-field { position: relative; min-width: 0; height: clamp(210px, 25vw, 305px); }
.shape {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  padding: 4px;
  background: transparent;
  color: var(--lilac);
  cursor: pointer;
  touch-action: manipulation;
}
.shape-field .shape { position: absolute; }
.shape:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.shape span { display: block; background: currentColor; aspect-ratio: 1; width: var(--size, 35px); transition: transform .35s cubic-bezier(.2,.8,.2,1), color .22s; }
.shape[aria-pressed="true"] { color: var(--lime); }
.shape[aria-pressed="true"] span { transform: var(--active, rotate(45deg)); }
.shape-burst { --size: clamp(91px,13vw,176px); --active: rotate(45deg) scale(.88); top: 12%; left: 22%; color: var(--lime); }
.shape-burst[aria-pressed="true"] { color: var(--lilac); }
.shape-burst span { clip-path: polygon(50% 0,59% 36%,87% 13%,64% 41%,100% 50%,64% 59%,87% 87%,59% 64%,50% 100%,41% 64%,13% 87%,36% 59%,0 50%,36% 41%,13% 13%,41% 36%); }
.shape-ring { --size: clamp(49px,7vw,90px); --active: rotate(100deg) scaleX(.65); top: 47%; right: 0; }
.shape-ring span { border: 2px solid currentColor; border-radius: 50%; background: transparent; aspect-ratio: 1.45; rotate: -24deg; }
.shape-tile { --size: clamp(24px,4vw,49px); --active: rotate(135deg) scale(1.15); top: 69%; left: 9%; }
.shape-tile span { border-radius: 20%; rotate: 21deg; }
.shape-dot { --size: 16px; --active: scale(1.75); top: 3%; right: 4%; }
.shape-dot span { border-radius: 50%; }
.shape-cross { --size: 28px; --active: rotate(90deg); bottom: 3%; right: 28%; color: var(--lime); }
.shape-cross[aria-pressed="true"] { color: var(--lilac); }
.shape-cross span { clip-path: polygon(43% 0,57% 0,57% 43%,100% 43%,100% 57%,57% 57%,57% 100%,43% 100%,43% 57%,0 57%,0 43%,43% 43%); }
.service-shapes { display: flex; gap: 18px; float: right; align-items: center; margin-left: 10px; }
.shape-stack span { background: repeating-linear-gradient(0deg,currentColor 0 3px,transparent 3px 8px); rotate: -15deg; aspect-ratio: 1.55; }
.shape-stack { --active: scaleY(1.7) rotate(30deg); color: var(--lime); }
.shape-stack[aria-pressed="true"] { color: var(--lilac); }
.shape-orbit span { background: transparent; border: 2px solid currentColor; border-radius: 50%; aspect-ratio: 1.65; box-shadow: inset 8px 0 currentColor; }
.shape-orbit { --active: rotate(120deg); }
body#top .card { border-bottom: 1px solid #393939; padding-bottom: 8px; }
body#top .card:focus-within { border-color: var(--lilac); }
body#top .open:hover, body#top .open:focus-visible { color: var(--lime); }
body#top .service-list article:focus-within { border-color: var(--lilac); }

body.flowers { --motion-y: 10px; --motion-time: .64s; --motion-ease: cubic-bezier(.2,.7,.2,1); }
body.coffee { --motion-y: 7px; --motion-time: .54s; --motion-ease: ease-out; }
body.barber { --motion-y: 13px; --motion-time: .4s; --motion-ease: cubic-bezier(.2,.8,.35,1); }
body#top { --motion-y: 8px; --motion-time: .48s; --motion-ease: ease-out; }
.products img, .team img, .coffee-menu img { transition: filter .26s ease; }
.product-copy .button:active, .services .button:active, .return-link:active, body#top .open:active { opacity: .72; }
.demo-faq summary:active { opacity: .75; }
@media (hover: hover) and (pointer: fine) {
  .shape:not([aria-pressed="true"]):hover span { transform: rotate(12deg) scale(1.1); }
  .products article:hover img, .team article:hover img, .coffee-menu img:hover { filter: saturate(1.18) contrast(1.04); }
  body#top .card:hover { border-color: var(--lime); }
}
@media (prefers-reduced-motion: no-preference) {
  .in-view { animation: enter-section var(--motion-time) var(--motion-ease) both; }
  .hero-enter { animation: enter-section var(--motion-time) var(--motion-ease) both; }
  dialog[open] .dialog-inner { animation: enter-section .24s ease-out both; }
  .demo-faq details[open] p { animation: enter-section .24s ease-out both; }
  @keyframes enter-section { from { opacity: .65; translate: 0 var(--motion-y); } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 760px) {
  body#top .intro { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .shape-field { width: min(100%, 370px); height: 112px; }
  .shape-burst { top: 4%; left: 18%; --size: 75px; }
  .shape-ring { top: 20%; right: 12%; }
  .shape-tile { top: 50%; left: 0; }
  .shape-cross { bottom: 0; right: 35%; }
  .shape-dot { top: 1%; right: 0; }
}
@media (max-width: 480px) {
  .service-shapes { gap: 6px; }
  .service-shapes .shape { --size: 26px; }
  .demo-faq summary { padding-inline-end: 6px; }
  .project-footer .return-link { min-height: 64px; }
  .coffee-hero .button { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
