:where(#workshop-record) *{ box-sizing: border-box; }
#workshop-record{
  color: var(--warm-ink);
  background: var(--warm-paper);
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", system-ui, sans-serif;
  font-synthesis: none;
  word-break: keep-all;
  --accent: var(--gold-deep);
  --muted: var(--warm-muted);
  --motion-height: 230svh;
}
:where(#workshop-record) button,:where(#workshop-record) a{ font: inherit; }
:where(#workshop-record) a{ color: inherit; }
:where(#workshop-record) button:focus-visible,:where(#workshop-record) a:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}
#workshop-record{ position: relative; height: calc(100svh + var(--motion-height)); }
#workshop-lineup, #workshop-lineup-start{ position: absolute; top: var(--motion-height); height: 1px; width: 1px; pointer-events: none; }

:where(#workshop-record) .stage{
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background: var(--warm-paper);
}
:where(#workshop-record) .intro{
  width: min(100% - 96px, 1220px);
  margin-inline: auto;
  padding: clamp(18px, 3.3vh, 33px) 0 0;
}
:where(#workshop-record) h2{
  margin: 0;
  text-align: center;
  font-weight: 740;
  letter-spacing: -.063em;
  line-height: 1.13;
}
:where(#workshop-record) h2{
  margin-top: clamp(13px, 2.3vh, 23px);
  font-size: clamp(38px, 5vw, 72px);
}
:where(#workshop-record) h2 span{ white-space: nowrap; }
:where(#workshop-record) .devices{
  position: relative;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
:where(#workshop-record) .devices[data-dragging]{ cursor: grabbing; }
:where(#workshop-record) .product{
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--width);
  aspect-ratio: var(--ratio);
  margin: 0;
  translate: calc(-50% + var(--x, 0px)) -50%;
}
:where(#workshop-record) .product--lineup {
  aspect-ratio: 2160 / 1350;
  z-index: 1;
  pointer-events: none;
}
:where(#workshop-record) figure.product::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: -6%;
  right: -6%;
  top: 97.6%;
  height: 5%;
  background:
    radial-gradient(ellipse 42% 22% at 50% 47%, rgb(29 27 25 / .32), rgb(29 27 25 / .20) 48%, transparent),
    radial-gradient(ellipse closest-side, rgb(29 27 25 / .19), rgb(29 27 25 / .09) 56%, transparent);
}
:where(#workshop-record) .product[data-id="book"]::before {
  top: 96.7%;
  height: 7%;
}
:where(#workshop-record) .product[hidden]{ display: none; }
:where(#workshop-record) .hardware,:where(#workshop-record) .screen,:where(#workshop-record) .front-glass{
  position: absolute;
  display: block;
}
:where(#workshop-record) .hardware{
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
:where(#workshop-record) .front-glass{ pointer-events: none; }
:where(#workshop-record) .screen{
  left: var(--left);
  top: var(--top);
  right: var(--right);
  bottom: var(--bottom);
  border-radius: var(--radius);
  color: var(--ink);
  overflow: clip;
}
:where(#workshop-record) .quote{
  position: absolute;
  width: var(--quote-width);
  top: var(--quote-top);
  left: var(--quote-left);
}
:where(#workshop-record) .quote-image{ display: block; width: 100%; height: auto; }
:where(#workshop-record) .native-intro{
  position: absolute;
  bottom: calc(100% + .5em);
  left: var(--ink-start);
  font-size: var(--native-size);
  font-weight: var(--native-weight, 400);
  color: #191919;
  white-space: nowrap;
}
:where(#workshop-record) .product[data-id="tablet"] .native-intro{ left: calc(var(--ink-start) - .68em); }
:where(#workshop-record) .native-bar{
  position: absolute;
  left: calc(var(--ink-start) - .72em);
  top: calc(.18 * var(--native-size));
  width: max(1px, .13em);
  bottom: calc(.1 * var(--native-size));
  font-size: var(--native-size);
  border-radius: 2px;
  background: var(--bar);
}
:where(#workshop-record) .mark{
  position: absolute;
  height: max(1px, .095em);
  width: var(--key-width);
  top: var(--key-top);
  left: var(--key-left);
  font-size: var(--native-size);
  border-radius: 2px;
  background: var(--gold-deep);
  opacity: .82;
}
:where(#workshop-record) .product[data-id="book"] .mark{ background: var(--gold-light); }
:where(#workshop-record) .composer{
  position: absolute;
  display: block;
  bottom: 4%;
  left: 50%;
  width: var(--composer-width);
  translate: -50% 0;
}
:where(#workshop-record) .transcript{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
:where(#workshop-record) .controls{
  display: grid;
  justify-items: center;
  gap: 5px;
  padding-bottom: max(clamp(24px, 4.1vh, 48px), env(safe-area-inset-bottom));
}
:where(#workshop-record) .model{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -.012em;
  line-height: 1.3;
}
:where(#workshop-record) .apps{
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
}
:where(#workshop-record) .apps button{
  appearance: none;
  position: relative;
  min-width: 76px;
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
}
:where(#workshop-record) .apps button[aria-current="true"]{ color: var(--gold-deep); font-weight: 700; }
:where(#workshop-record) .apps button::after{
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 20px;
  height: 2px;
  translate: -50%;
  border-radius: 2px;
  background: transparent;
}
:where(#workshop-record) .apps button:hover::after{ background: var(--gold-fill); }
:where(#workshop-record) .apps button[aria-current="true"]::after{ background: var(--accent); }
@media (max-width: 700px) {
#workshop-record{ --motion-height: 225svh; }
:where(#workshop-record) .intro{
    width: calc(100% - 40px);
    padding-top: max(21px, env(safe-area-inset-top));
  }
:where(#workshop-record) h2{
    margin-top: clamp(19px, 3.4vh, 32px);
    font-size: clamp(36px, 10.4vw, 53px);
    line-height: 1.09;
  }
:where(#workshop-record) h2 span{ display: block; }
:where(#workshop-record) .transcript{
    position: static;
    width: max-content;
    max-width: calc(100% - 42px);
    height: auto;
    margin: 0 auto clamp(19px, 3.2vh, 34px);
    padding: 0 0 0 12px;
    overflow: visible;
    clip-path: none;
    border-left: 1px solid var(--warm-line);
    font-size: clamp(13px, 3.95vw, 16px);
    line-height: 1.58;
    letter-spacing: -.035em;
  }
:where(#workshop-record) .transcript p{ margin: 0; }
:where(#workshop-record) .transcript .key{
    color: var(--gold-deep);
    font-weight: 720;
    text-decoration: underline var(--gold-fill);
    text-underline-offset: .24em;
    text-decoration-thickness: 1px;
  }
:where(#workshop-record) .model{ font-size: 12px; }
:where(#workshop-record) .controls{ padding-bottom: max(25px, env(safe-area-inset-bottom)); }
}
@media (max-height: 560px) {
:where(#workshop-record) .stage{ height: 100svh; }
:where(#workshop-record) .intro{ padding-top: 10px; }
:where(#workshop-record) h2{ margin-top: 6px; font-size: clamp(28px, 5vw, 43px); }
:where(#workshop-record) h2 span{ display: inline; }
:where(#workshop-record) .controls{ padding-bottom: 8px; gap: 0; }
:where(#workshop-record) .transcript{ margin-bottom: 8px; font-size: 12px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
#workshop-record{ --motion-height: 100svh; }
}
:where(#workshop-record) .intro {
  width: min(1120px, calc(100% - 2 * clamp(24px, 6vw, 96px)));
}
:where(#workshop-record) .record-description {
  max-inline-size: 46rem;
  margin: 12px auto 0;
  text-wrap: balance;
  color: var(--muted);
  text-align: center;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.42;
}
@media (max-width: 700px) {
  :where(#workshop-record) #record-title span:first-child { display: inline; }
  :where(#workshop-record) .record-description { margin-top: 9px; }
}
@media (max-height: 560px) {
  :where(#workshop-record) .record-description { margin-top: 4px; }
}

@media (max-width: 510px) {
  #workshop-record .apps { gap: clamp(2px, 1.6vw, 8px); }
  #workshop-record .apps button { min-width: 0; padding-inline: clamp(5px, 2vw, 10px); }
}

#your-memory {
  background: var(--charcoal);
  color: #f2f1ee;
  font-family: "ToolsPreview", Pretendard, -apple-system, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}
#your-memory .memory-inner {
  box-sizing: content-box;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(64px, 7.4vw, 112px) clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(54px, 7.5vw, 116px);
  align-items: center;
}
#your-memory h2, #your-memory h3, #your-memory p,
#your-memory figure, #your-memory dl, #your-memory dd { margin: 0; }
#your-memory h2 {
  font-size: clamp(30px, 2.8vw, 41px);
  font-weight: 690;
  line-height: 1.23;
  letter-spacing: -.045em;
  text-wrap: balance;
}
#your-memory .memory-copy p {
  max-width: 34em;
  margin-top: 16px;
  color: #cececa;
  font-size: clamp(16px, 1.16vw, 18px);
  line-height: 1.68;
  text-wrap: pretty;
}
#your-memory .memory-copy p + p { margin-top: 12px; }
#your-memory .memory-example {
  border-block: 1px solid #535350;
  padding-block: 20px 22px;
}
#your-memory figcaption, #your-memory dt {
  color: #afafa9;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.55;
}
#your-memory h3 {
  margin-block: 5px 20px;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 630;
  letter-spacing: -.035em;
}
#your-memory dl { display: grid; gap: 8px; }
#your-memory dl div {
  display: grid;
  grid-template-columns: minmax(68px, 21%) 1fr;
  align-items: baseline;
  column-gap: 12px;
}
#your-memory dd { font-size: 16px; line-height: 1.56; }
@media (max-width: 740px) {
  #your-memory .memory-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 58px; }
  #your-memory .memory-example { padding-block: 16px 18px; }
}
