.al-room.atelier-frame {
  --atelier-accent: #9a642d;
  display: block;
  overflow: hidden;
  min-height: 0;
  color: #302b26;
  background: white;
  border: 1px solid #e5dfd7;
  border-radius: 30px;
  box-shadow:
    0 24px 88px -68px #50392266,
    0 2px 8px #513a2204;
}
.al-room *,
.al-room *::before,
.al-room *::after {
  box-sizing: border-box;
}
.al-rail {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 11px;
  background: #fff;
  border-bottom: 1px solid #e9e3da;
  scrollbar-width: thin;
  scrollbar-color: #cbbfaf transparent;
  scroll-snap-type: x proximity;
}
.al-room .al-blend {
  appearance: none;
  position: relative;
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;
  color: #665c53;
  font: inherit;
  font-size: 12px;
  line-height: 1.25;
  scroll-snap-align: center;
  transition:
    background 0.24s,
    border-color 0.24s,
    color 0.24s;
}
.al-blend > i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blend-color);
  box-shadow: inset 0 1px 1px #ffffff8c;
}
.al-room .al-blend:hover {
  background: color-mix(in srgb, var(--blend-color) 6%, #fff);
}
.al-room .al-blend[aria-selected='true'] {
  background: color-mix(in srgb, var(--blend-color) 11%, #fff);
  border-color: color-mix(in srgb, var(--blend-color) 30%, white);
  color: #312b24;
}
.al-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  grid-template-areas: 'scene info' 'scene facts' 'scene actions';
  grid-template-rows: auto auto auto;
  align-items: stretch;
}
.al-info {
  grid-area: info;
  align-self: end;
  padding: clamp(25px, 3.3vw, 55px) clamp(28px, 4vw, 65px) 0;
}
.al-info .al-title {
  margin: 0 0 10px;
  color: #302a24;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 4.5vw, 75px);
  line-height: 0.99;
  letter-spacing: -0.063em;
  text-wrap: balance;
}
.al-format {
  color: #756c61;
  font-size: 12px;
}
.al-facts {
  grid-area: facts;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 24px clamp(28px, 4vw, 65px) 0;
}
.al-room .al-card {
  position: relative;
  appearance: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 105px;
  padding: 14px 15px 16px;
  margin: 0;
  text-align: left;
  color: #302923;
  font: inherit;
  font-weight: 400;
  background: linear-gradient(134deg, #fff, #faf9f6);
  border: 1px solid #e7e2db;
  border-radius: 15px;
  transition:
    border-color 0.18s,
    background-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.al-room .al-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--atelier-accent) 48%, white);
}
.al-room .al-card[aria-selected='true'] {
  border-color: color-mix(in srgb, var(--atelier-accent) 58%, white);
  background: linear-gradient(134deg, color-mix(in srgb, var(--atelier-accent) 8%, white), white 145%);
  box-shadow:
    inset 0 1px 1px white,
    0 4px 12px -10px var(--atelier-accent);
}
.al-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.al-card .gaia-symbol {
  width: 23px;
  height: 23px;
  color: var(--atelier-accent);
  overflow: visible;
}
.al-card .gi-pin {
  fill: white;
}
.al-card .gi-detail {
  stroke-width: 1.05;
}
.al-panel-arrow {
  width: 13px;
  height: 13px;
  color: #8f8376;
  opacity: 0.75;
}
.al-card[aria-selected='true'] .al-panel-arrow {
  opacity: 1;
  color: var(--atelier-accent);
}
.al-card-label {
  display: block;
  margin: 9px 0 3px;
  color: #756b60;
  font-size: 11px;
  line-height: 1.3;
}
.al-value {
  display: block;
  color: #352c24;
  font-size: clamp(12px, 1.02vw, 16px);
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.32;
}
.al-card[aria-selected='true'] .gi-flavor .gi-detail,
.al-card[aria-selected='true'] .gi-roast .gi-detail {
  stroke-dasharray: 36;
  animation: al-trace 0.7s ease-out both;
}
.al-card[aria-selected='true'] .gi-caffeine .gi-steam {
  animation: al-steam 2.6s ease-in-out infinite;
  transform-origin: center;
}
.al-card[aria-selected='true'] .gi-origin .gi-pin {
  animation: al-pin 0.6s ease-out;
  transform-origin: 16.6px 9px;
}
.al-actions {
  grid-area: actions;
  padding: 24px clamp(28px, 4vw, 65px) clamp(27px, 3.2vw, 48px);
}
.al-room .al-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 13px 19px;
  min-height: 46px;
  height: auto;
}
.al-room .al-shop::after {
  display: none;
}
.al-room button:focus-visible,
.al-globe:focus-visible {
  outline: 2px solid var(--atelier-accent);
  outline-offset: -3px;
}
.al-stage {
  --stage-x: 0;
  --stage-y: 0;
  grid-area: scene;
  isolation: isolate;
  position: relative;
  min-height: clamp(465px, 38vw, 630px);
  overflow: hidden;
  border-right: 1px solid #f0eae3;
  background:
    radial-gradient(ellipse at 26% 61%, color-mix(in srgb, var(--atelier-accent) 8%, white), transparent 72%), #fff;
}
.al-still,
.al-gallery {
  position: absolute;
  inset: 0;
}
.al-still {
  overflow: hidden;
  animation: al-scene-in 0.45s ease both;
  background:
    radial-gradient(ellipse at 30% 70%, color-mix(in srgb, var(--atelier-accent) 4%, white), transparent 57%),
    white;
}
.al-tabletop {
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(to bottom, #f5f2ee00, #f5f2ec83 68%, #fff);
}
.al-still img {
  position: absolute;
  max-width: none;
  display: block;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}
.al-pouch {
  height: 88%;
  width: 84%;
  left: -6%;
  bottom: 13%;
  object-fit: contain;
  object-position: 50% 100%;
  transform: translate(calc(var(--stage-x) * -10px), calc(var(--stage-y) * -6px));
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
}
.al-still .al-ingredients {
  mix-blend-mode: normal;
  width: 68%;
  height: 49%;
  right: -1%;
  bottom: 5%;
  object-fit: contain;
  object-position: 50% 100%;
  transform-origin: 65% 74%;
  transform: translate(calc(var(--stage-x) * 12px), calc(var(--stage-y) * 7px));
  transition:
    width 0.65s cubic-bezier(0.22, 0.67, 0.28, 1),
    height 0.65s cubic-bezier(0.22, 0.67, 0.28, 1),
    right 0.65s cubic-bezier(0.22, 0.67, 0.28, 1),
    bottom 0.65s cubic-bezier(0.22, 0.67, 0.28, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.al-still[data-macro='true'] .al-pouch {
  transform: translate(-19%, 2%) scale(0.88);
  opacity: 0;
}
.al-still[data-macro='true'] .al-ingredients {
  width: 109%;
  height: 90%;
  right: -4.5%;
  bottom: 14%;
  object-position: 50% 80%;
}
.al-pouch-only .al-pouch {
  width: 100%;
  height: 92%;
  left: 0;
  bottom: 5%;
}
.al-room .al-loupe {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 20px;
  min-height: 37px;
  padding: 8px 13px;
  color: #4d4238;
  background: #fffdf8de;
  backdrop-filter: blur(12px);
  border: 1px solid #ded7cdd9;
  border-radius: 50px;
  font: inherit;
  font-size: 11px;
  box-shadow: 0 1px 4px #49322306;
}
.al-still[data-macro='true'] .al-zoom-add {
  display: none;
}
.al-gallery {
  display: flex;
  flex-direction: column;
  padding: 15px 24px 24px;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: al-scene-in 0.4s ease both;
}
.al-graphic {
  min-height: 0;
  width: 100%;
  flex: 1;
  display: grid;
  place-items: center;
}
.al-globe {
  display: block;
  width: min(84%, 385px);
  max-height: 100%;
  aspect-ratio: 1;
  touch-action: pan-y;
  cursor: grab;
}
.al-globe:active {
  cursor: grabbing;
}
.atelier-bean-art,
.atelier-spoon-art {
  display: block;
  width: min(95%, 425px);
  max-height: 100%;
  overflow: visible;
}
.atelier-roast-seed {
  transform-origin: 160px 118px;
  animation: al-bean-in 0.95s cubic-bezier(0.2, 0.65, 0.25, 1) both;
}
.atelier-spoon-move {
  transform-origin: 112px 129px;
  animation: al-spoon-in 0.85s cubic-bezier(0.22, 0.7, 0.3, 1) both;
}
.atelier-steam-art {
  animation: al-steam 3.3s ease-in-out infinite;
  opacity: 0.6;
}
.al-caption {
  flex: 0 0 auto;
  padding-top: 10px;
  max-width: 100%;
}
.al-caption-label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 2vw, 32px);
  font-style: italic;
  margin-bottom: 12px;
  color: #574534;
  line-height: 1.14;
  letter-spacing: -0.036em;
}
.al-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}
.al-room .al-options button {
  position: relative;
  min-height: 36px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid #ddd6cc;
  background: #ffffffda;
  color: #564a3d;
  font: inherit;
  font-size: 11px;
}
.al-room .al-options button[aria-pressed='true'] {
  background: #40372d;
  color: white;
  border-color: #40372d;
}
.al-roast-dot {
  width: 7px;
  height: 9px;
  border-radius: 50%;
  transform: rotate(30deg);
  background: #a77c57;
  box-shadow: inset 0.8px 0.3px 1px #ffffff5c;
}
.al-roast-dot[data-tone='Medium-dark'] {
  background: #774a30;
}
.al-roast-dot[data-tone='Dark'] {
  background: #503629;
}
.al-options button[aria-pressed='true'] .al-roast-dot {
  box-shadow: 0 0 0 1px #ffffff8c;
}
.al-pouch-notice {
  font-size: 11px;
  line-height: 1.45;
  color: #756a5d;
  max-width: 38ch;
  margin: 11px auto 0;
}
.al-pouch-notice strong {
  font-weight: 550;
  color: #4a3f34;
  margin-right: 3px;
}
@keyframes al-trace {
  from {
    stroke-dashoffset: 36;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes al-pin {
  from {
    transform: scale(0.5);
  }
  to {
    transform: scale(1);
  }
}
@keyframes al-steam {
  0%,
  100% {
    transform: translateY(1px);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-2px);
    opacity: 0.9;
  }
}
@keyframes al-bean-in {
  from {
    transform: translateY(8px) rotate(-12deg);
  }
  to {
    transform: translateY(0) rotate(0);
  }
}
@keyframes al-spoon-in {
  from {
    transform: translateY(8px) rotate(-9deg);
  }
  to {
    transform: translateY(0) rotate(0);
  }
}
@keyframes al-scene-in {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1050px) {
  .al-rail {
    --blend-columns: 3;
    display: grid;
    grid-template-columns: repeat(var(--blend-columns), minmax(0, 1fr));
    scroll-snap-type: none;
  }
  .al-room .al-blend {
    min-width: 0;
    min-height: 44px;
    font-size: 12px;
    padding: 9px 11px;
  }
  .al-info {
    padding: 28px 26px 0;
  }
  .al-facts {
    margin: 19px 26px 0;
  }
  .al-actions {
    padding: 21px 26px 28px;
  }
  .al-room .al-card {
    padding: 11px 12px 13px;
    min-height: 98px;
  }
}
@media (max-width: 760px) {
  .al-room.atelier-frame {
    border-radius: 22px;
  }
  .al-rail {
    padding: 7px;
    gap: 2px;
  }
  .al-spread {
    grid-template-columns: 1fr;
    grid-template-areas: 'info' 'facts' 'scene' 'actions';
    grid-template-rows: auto auto auto auto;
  }
  .al-info {
    padding: 25px 20px 0;
  }
  .al-info .al-title {
    font-size: clamp(34px, 7.5vw, 48px);
  }
  .al-format {
    font-size: 11px;
  }
  .al-facts {
    margin: 16px 16px 16px;
    gap: 6px;
  }
  .al-room .al-card {
    min-height: 76px;
    border-radius: 12px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 20px 1fr;
    grid-template-rows: 18px auto;
    column-gap: 7px;
    align-content: start;
  }
  .al-card-top {
    width: 20px;
    grid-area: 1/1;
  }
  .al-card .gaia-symbol {
    width: 18px;
    height: 18px;
  }
  .al-panel-arrow {
    display: none;
  }
  .al-card-label {
    grid-area: 1/2;
    align-self: center;
    margin: 0;
    font-size: 10px;
  }
  .al-value {
    grid-area: 2/1/3/3;
    font-size: 12px;
    line-height: 1.3;
    margin-top: 5px;
  }
  .al-stage {
    min-height: 0;
    height: clamp(285px, 72vw, 355px);
    border-right: 0;
    border-top: 1px solid #f0ece6;
  }
  .al-actions {
    padding: 5px 16px 18px;
  }
  .al-room .al-shop {
    width: 100%;
    min-height: 43px;
    font-size: 12px;
  }
  .al-gallery {
    padding: 4px 15px 13px;
  }
  .al-caption {
    padding-top: 0;
  }
  .al-caption-label {
    font-size: 21px;
    margin-bottom: 7px;
  }
  .al-globe {
    width: min(53vw, 202px);
  }
  .al-pouch-notice {
    font-size: 10px;
    margin-top: 6px;
  }
  .al-room .al-options button {
    min-height: 44px;
    font-size: 12px;
    padding: 5px 10px;
  }
  .atelier-bean-art,
  .atelier-spoon-art {
    width: min(82%, 280px);
  }
  .al-room .al-loupe {
    left: 12px;
    bottom: 10px;
    min-height: 44px;
  }
  .al-pouch {
    width: 84%;
    height: 94%;
    bottom: 7%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .al-room *,
  .al-room *::before,
  .al-room *::after {
    transition: none !important;
    animation: none !important;
  }
  .al-room .al-card:hover {
    transform: none;
  }
}

@media (max-width: 540px) {
  .al-rail { --blend-columns: 2; }
  .al-room .al-blend { padding: 7px 9px; gap: 6px; line-height: 1.2; text-wrap: balance; }
  .al-blend > i { flex: 0 0 8px; }
  .al-card-label { font-size: 11px; }
  .al-pouch-notice { font-size: 11px; }
}
@media (pointer: coarse) {
  .al-room .al-blend, .al-room .al-options button, .al-room .al-loupe { min-height: 44px; }
}

.al-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
