:root {
  /* SOL.MEの紙・墨・箔金を、このページの役割に合わせて再利用する。 */
  --so-canvas: #f1f2ef;
  --so-paper: #fbfbf9;
  --so-paper-muted: #f5f4ef;
  --so-paper-deep: #e9e8e1;
  --so-sumi: #272c3a;
  --so-sumi-soft: #666d7e;
  --so-sumi-faint: #898f9c;
  --so-gold: #a5842e;
  --so-gold-deep: #73591b;
  --so-gold-wash: rgba(165, 132, 46, .09);
  --so-gold-line: rgba(165, 132, 46, .42);
  --so-line: rgba(39, 44, 58, .14);
  --so-line-strong: rgba(39, 44, 58, .24);
  --so-photo-bg: #eceeea;
  --so-on-gold: #fdfcf8;
  --so-error: #8e4747;
  --so-error-wash: rgba(142, 71, 71, .08);
  --so-focus: #80651f;
  --so-shadow-shell: 0 2rem 5rem -3.4rem rgba(39, 44, 58, .48);
  --so-shadow-photo: 0 1.4rem 3.8rem -2.8rem rgba(39, 44, 58, .44);
  --so-shadow-choice: 0 0 0 .2rem var(--so-paper);
  --so-font-mincho: "Shippori Mincho", "Noto Serif JP", serif;
  --so-font-sans: "Zen Kaku Gothic New", -apple-system, "Hiragino Kaku Gothic ProN", sans-serif;
  --so-font-en: "Cormorant Garamond", Georgia, serif;
  --so-max-width: 1280px;
  --so-copy-width: 48rem;
  --so-copy-width-intro: 36rem;
  --so-copy-width-preview: 42rem;
  --so-copy-width-step: 31rem;
  --so-selector-width: 34rem;
  --so-radius-shell: .3rem;
  --so-radius-control: .18rem;
  --so-radius-photo: .22rem;
  --so-ease: cubic-bezier(.22, .61, .36, 1);
  --so-ease-heavy: cubic-bezier(.32, .72, 0, 1);
  --so-speed: .28s;
  --so-header-height: 4.4rem;
  --so-layer-skip: 120;
}

.semi-order-page {
  min-width: 20rem;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 8% 4%, var(--so-paper), transparent 30rem),
    linear-gradient(135deg, var(--so-canvas), var(--so-paper-muted));
  color: var(--so-sumi);
  font-family: var(--so-font-sans);
}

.semi-order-page button,
.semi-order-page a {
  -webkit-tap-highlight-color: transparent;
}

.semi-order-page button:active,
.semi-order-page .so-result-actions a:active {
  transform: translateY(.08rem);
}

.semi-order-page button:focus-visible,
.semi-order-page a:focus-visible {
  outline-color: var(--so-focus);
}

.so-skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: var(--so-layer-skip);
  transform: translateY(-180%);
  padding: .72rem 1rem;
  border-radius: var(--so-radius-control);
  background: var(--so-gold-deep);
  color: var(--so-on-gold);
  font-size: .8rem;
  letter-spacing: .08em;
  transition: transform var(--so-speed) var(--so-ease-heavy);
}

.so-skip-link:focus {
  transform: translateY(0);
}

#semi-order-main {
  padding: clamp(2.4rem, 5vw, 5rem) 1.25rem clamp(4rem, 7vw, 7rem);
}

.so-intro {
  width: min(100%, var(--so-max-width));
  margin: 0 auto clamp(2rem, 4vw, 3.7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, .88fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.so-intro-copy {
  max-width: var(--so-copy-width);
}

.so-kicker {
  margin: 0 0 .7rem;
  color: var(--so-gold-deep);
  font-family: var(--so-font-en);
  font-size: .8rem;
  font-style: italic;
  letter-spacing: .34em;
}

.so-intro h1 {
  margin: 0;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .1em;
  text-wrap: balance;
}

.so-intro-copy > p:last-child {
  max-width: var(--so-copy-width-intro);
  margin: 1rem 0 0;
  color: var(--so-sumi-soft);
  font-size: clamp(.9rem, 1.5vw, 1rem);
  line-height: 1.9;
}

.so-safety-note {
  padding: 1rem 0 1rem 1.4rem;
  border-left: .12rem solid var(--so-gold);
  display: grid;
  gap: .45rem;
  color: var(--so-sumi-soft);
  font-size: .8rem;
  line-height: 1.75;
}

.so-safety-note strong {
  color: var(--so-sumi);
  font-weight: 500;
  letter-spacing: .04em;
}

.so-safety-note a {
  margin-left: .22rem;
  border-bottom: .06rem solid var(--so-gold-line);
  color: var(--so-gold-deep);
}

.so-launch-sets {
  width: min(100%, var(--so-max-width));
  margin: 0 auto clamp(2rem, 4vw, 3.4rem);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-top: .06rem solid var(--so-gold-line);
  border-bottom: .06rem solid var(--so-line);
  background: color-mix(in srgb, var(--so-paper) 72%, transparent);
}

.so-launch-sets-copy {
  max-width: var(--so-copy-width);
  display: grid;
  grid-template-columns: minmax(12rem, .55fr) minmax(18rem, 1fr);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.so-launch-sets-copy .so-kicker {
  grid-column: 1;
}

.so-launch-sets-copy h2 {
  grid-column: 1;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: .1em;
}

.so-launch-sets-copy > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--so-sumi-soft);
  font-size: .86rem;
  line-height: 1.9;
}

.so-launch-set-links {
  margin-top: clamp(1.5rem, 3vw, 2.3rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.so-launch-set-links > a {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(6.4rem, 11vw, 8.4rem) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: .06rem solid var(--so-line);
  border-radius: var(--so-radius-control);
  background: var(--so-paper);
  transition:
    border-color var(--so-speed) var(--so-ease),
    transform var(--so-speed) var(--so-ease);
}

.so-launch-set-links > a:hover {
  border-color: var(--so-gold);
  transform: translateY(-.12rem);
}

.so-launch-set-links img {
  width: 100%;
  height: 100%;
  min-height: 8.4rem;
  object-fit: cover;
  background: var(--so-photo-bg);
}

.so-launch-set-links a > span {
  min-width: 0;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.so-launch-set-links small {
  color: var(--so-gold-deep);
  font-family: var(--so-font-en);
  font-size: .7rem;
  font-style: italic;
  letter-spacing: .2em;
}

.so-launch-set-links strong {
  margin-top: .35rem;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.7;
}

.so-launch-set-links em {
  margin-top: auto;
  padding-top: .7rem;
  border-bottom: .06rem solid var(--so-gold-line);
  color: var(--so-gold-deep);
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .08em;
}

.so-launch-set-links i {
  margin-left: .45rem;
  font-style: normal;
}

.so-launch-set-note {
  margin-top: .8rem;
  color: var(--so-sumi-faint);
  font-size: .68rem;
  letter-spacing: .06em;
}

.so-progress-shell {
  width: min(100%, var(--so-max-width));
  margin: 0 auto;
  border: .06rem solid var(--so-line);
  border-bottom: 0;
  border-radius: var(--so-radius-shell) var(--so-radius-shell) 0 0;
  background: var(--so-paper-muted);
}

.so-progress {
  width: min(100%, 43rem);
  display: grid;
  grid-template-columns: .8fr .9fr 1.4fr;
}

.so-progress button {
  min-height: 4.1rem;
  position: relative;
  padding: .7rem 1.1rem;
  display: flex;
  align-items: baseline;
  gap: .7rem;
  border-right: .06rem solid var(--so-line);
  color: var(--so-sumi-faint);
  text-align: left;
  transition:
    color var(--so-speed) var(--so-ease),
    background-color var(--so-speed) var(--so-ease);
}

.so-progress button::after {
  content: "";
  height: .12rem;
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  background: var(--so-gold);
  transition:
    right var(--so-speed) var(--so-ease-heavy),
    left var(--so-speed) var(--so-ease-heavy);
}

.so-progress button:hover {
  color: var(--so-sumi);
  background: var(--so-gold-wash);
}

.so-progress button[aria-current="step"] {
  color: var(--so-gold-deep);
  background: var(--so-paper);
}

.so-progress button[aria-current="step"]::after {
  right: 0;
  left: 0;
}

.so-progress span {
  font-family: var(--so-font-en);
  font-size: 1.15rem;
  font-style: italic;
}

.so-progress strong {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
}

.so-workspace {
  width: min(100%, var(--so-max-width));
  height: clamp(43rem, 58vw, 48rem);
  min-height: 43rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, var(--so-selector-width));
  overflow: hidden;
  border: .06rem solid var(--so-line);
  border-radius: 0 0 var(--so-radius-shell) var(--so-radius-shell);
  background: var(--so-paper);
  box-shadow: var(--so-shadow-shell);
}

.so-preview {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  border-right: .06rem solid var(--so-line);
  background:
    linear-gradient(135deg, var(--so-paper), var(--so-paper-muted));
}

.so-photo-frame {
  min-height: 25rem;
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: .06rem solid var(--so-line);
  border-radius: var(--so-radius-photo);
  background: var(--so-photo-bg);
  box-shadow: var(--so-shadow-photo);
}

.so-photo-frame figure {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.so-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: var(--so-photo-bg);
  transition:
    opacity var(--so-speed) var(--so-ease),
    transform var(--so-speed) var(--so-ease);
}

.so-photo-frame.is-loading img {
  opacity: .42;
  transform: scale(.995);
}

.so-photo-frame figcaption {
  min-height: 2.6rem;
  padding: .58rem .85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: .06rem solid var(--so-line);
  background: var(--so-paper);
  color: var(--so-sumi-faint);
  font-size: .68rem;
  letter-spacing: .1em;
}

.so-photo-frame figcaption span:first-child {
  color: var(--so-gold-deep);
}

.so-photo-loading {
  width: 34%;
  height: .08rem;
  position: absolute;
  right: 0;
  bottom: 2.56rem;
  left: 0;
  margin: auto;
  overflow: hidden;
  background: var(--so-line);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--so-speed) var(--so-ease);
}

.so-photo-loading::after {
  content: "";
  width: 42%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -42%;
  background: var(--so-gold);
}

.so-photo-frame.is-loading .so-photo-loading {
  opacity: 1;
}

.so-photo-frame.is-loading .so-photo-loading::after {
  animation: so-photo-loading 1s var(--so-ease) infinite;
}

@keyframes so-photo-loading {
  to {
    transform: translateX(338%);
  }
}

.so-photo-error {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 2rem;
  display: grid;
  place-items: center;
  background: var(--so-error-wash);
  color: var(--so-error);
  text-align: center;
}

.so-photo-thumbs {
  margin-top: .8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}

.so-photo-thumbs:empty {
  display: none;
}

.so-photo-thumb {
  min-height: 4.1rem;
  position: relative;
  overflow: hidden;
  border: .06rem solid var(--so-line);
  border-radius: var(--so-radius-control);
  background: var(--so-photo-bg);
  transition:
    border-color var(--so-speed) var(--so-ease),
    opacity var(--so-speed) var(--so-ease);
}

.so-photo-thumb::after {
  content: "";
  height: .12rem;
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  background: var(--so-gold);
  transition:
    right var(--so-speed) var(--so-ease-heavy),
    left var(--so-speed) var(--so-ease-heavy);
}

.so-photo-thumb[aria-pressed="true"] {
  border-color: var(--so-gold-line);
}

.so-photo-thumb[aria-pressed="true"]::after {
  right: 0;
  left: 0;
}

.so-photo-thumb img {
  width: 100%;
  height: 4.1rem;
  object-fit: cover;
}

.so-preview-copy {
  padding-top: clamp(1.4rem, 2.6vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  align-items: baseline;
}

.so-preview-category {
  grid-column: 1 / -1;
  margin: 0 0 .45rem;
  color: var(--so-gold-deep);
  font-family: var(--so-font-en);
  font-size: .73rem;
  font-style: italic;
  letter-spacing: .26em;
}

.so-preview-copy h2 {
  margin: 0;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .08em;
}

.so-preview-vessel {
  margin: 0;
  color: var(--so-sumi-faint);
  font-size: .7rem;
  line-height: 1.6;
  letter-spacing: .08em;
  text-align: right;
}

.so-preview-copy > p:last-child {
  grid-column: 1 / -1;
  max-width: var(--so-copy-width-preview);
  margin: .65rem 0 0;
  color: var(--so-sumi-soft);
  font-size: .82rem;
  line-height: 1.8;
}

.so-selector {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background: var(--so-paper);
}

.so-step-head {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.3rem, 3vw, 2.3rem) 1.25rem;
}

.so-step-head > p:first-child {
  margin: 0 0 .65rem;
  color: var(--so-gold-deep);
  font-family: var(--so-font-en);
  font-size: .82rem;
  font-style: italic;
  letter-spacing: .22em;
}

.so-step-head h2 {
  margin: 0;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .08em;
}

.so-step-head > p:last-child {
  max-width: var(--so-copy-width-step);
  margin: .65rem 0 0;
  color: var(--so-sumi-soft);
  font-size: .78rem;
  line-height: 1.75;
}

.so-selector-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--so-gold-line) transparent;
}

.so-selector-body::-webkit-scrollbar {
  width: .36rem;
}

.so-selector-body::-webkit-scrollbar-thumb {
  background: var(--so-gold-line);
}

.so-loading-state,
.so-error-state {
  min-height: 20rem;
  margin: 0 clamp(1.3rem, 3vw, 2.3rem);
  padding: 2.5rem 1.5rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  border-top: .06rem solid var(--so-line);
  border-bottom: .06rem solid var(--so-line);
  color: var(--so-sumi-soft);
  text-align: center;
}

.so-loading-state > span {
  width: 3.5rem;
  height: .08rem;
  position: relative;
  overflow: hidden;
  background: var(--so-line);
}

.so-loading-state > span::after {
  content: "";
  width: 45%;
  height: 100%;
  position: absolute;
  left: -45%;
  background: var(--so-gold);
  animation: so-loading-line 1.05s var(--so-ease) infinite;
}

@keyframes so-loading-line {
  to {
    transform: translateX(325%);
  }
}

.so-loading-state p,
.so-error-state p {
  margin: 0;
  font-size: .8rem;
}

.so-error-state {
  background: var(--so-error-wash);
  color: var(--so-error);
}

.so-error-state h3 {
  margin: 0;
  font-family: var(--so-font-mincho);
  font-size: 1.1rem;
  font-weight: 500;
}

.so-error-state button {
  min-height: 2.8rem;
  padding: .65rem 1.2rem;
  border: .06rem solid var(--so-error);
  border-radius: var(--so-radius-control);
  color: var(--so-error);
}

.so-category-filter {
  margin: 0 clamp(1.3rem, 3vw, 2.3rem) 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: .06rem solid var(--so-line);
  border-left: .06rem solid var(--so-line);
}

.so-category-filter button {
  min-height: 2.8rem;
  padding: .6rem .5rem;
  border-right: .06rem solid var(--so-line);
  border-bottom: .06rem solid var(--so-line);
  color: var(--so-sumi-faint);
  font-size: .68rem;
  letter-spacing: .08em;
  transition:
    color var(--so-speed) var(--so-ease),
    background-color var(--so-speed) var(--so-ease);
}

.so-category-filter button:hover,
.so-category-filter button[aria-pressed="true"] {
  background: var(--so-gold-wash);
  color: var(--so-gold-deep);
}

.so-choice-ledger {
  margin: 0 clamp(1.3rem, 3vw, 2.3rem) 1.5rem;
  border-top: .06rem solid var(--so-line);
}

.so-choice {
  width: 100%;
  min-height: 5.3rem;
  position: relative;
  padding: .72rem 2.6rem .72rem 0;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  border-bottom: .06rem solid var(--so-line);
  text-align: left;
  transition:
    background-color var(--so-speed) var(--so-ease),
    padding-left var(--so-speed) var(--so-ease);
}

.so-choice:hover,
.so-choice[aria-pressed="true"] {
  padding-left: .5rem;
  background: var(--so-gold-wash);
}

.so-choice[aria-pressed="true"]::after {
  content: "";
  width: .52rem;
  height: .52rem;
  position: absolute;
  right: .75rem;
  border: .06rem solid var(--so-gold);
  border-radius: 50%;
  background: var(--so-gold);
  box-shadow: var(--so-shadow-choice);
}

.so-choice-image {
  width: 4.5rem;
  height: 4rem;
  overflow: hidden;
  border-radius: var(--so-radius-photo);
  background: var(--so-photo-bg);
}

.so-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.so-choice-copy {
  min-width: 0;
  display: grid;
  gap: .18rem;
}

.so-choice-copy strong {
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .05em;
}

.so-choice-copy small {
  color: var(--so-sumi-soft);
  font-size: .68rem;
  line-height: 1.6;
}

.so-choice-copy em {
  color: var(--so-gold-deep);
  font-family: var(--so-font-sans);
  font-size: .62rem;
  font-style: normal;
  letter-spacing: .08em;
}

.so-empty-filter {
  margin: 0 clamp(1.3rem, 3vw, 2.3rem) 1.5rem;
  padding: 2rem;
  border-top: .06rem solid var(--so-line);
  border-bottom: .06rem solid var(--so-line);
  color: var(--so-sumi-soft);
  font-size: .78rem;
  text-align: center;
}

.so-motif-ledger {
  margin: 0 clamp(1.3rem, 3vw, 2.3rem) 1.5rem;
  border-top: .06rem solid var(--so-line);
}

.so-motif-choice {
  width: 100%;
  min-height: 5.8rem;
  position: relative;
  padding: 1rem 2.6rem 1rem .15rem;
  display: grid;
  gap: .35rem;
  border-bottom: .06rem solid var(--so-line);
  text-align: left;
  transition:
    background-color var(--so-speed) var(--so-ease),
    padding-left var(--so-speed) var(--so-ease);
}

.so-motif-choice:hover,
.so-motif-choice[aria-pressed="true"] {
  padding-left: .65rem;
  background: var(--so-gold-wash);
}

.so-motif-choice[aria-pressed="true"]::after {
  content: "";
  width: .52rem;
  height: .52rem;
  position: absolute;
  top: 1.4rem;
  right: .75rem;
  border-radius: 50%;
  background: var(--so-gold);
  box-shadow: var(--so-shadow-choice);
}

.so-motif-choice strong {
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .05em;
}

.so-motif-choice small {
  color: var(--so-sumi-soft);
  font-size: .7rem;
  line-height: 1.7;
}

.so-variant-ledger {
  margin: 0 clamp(1.3rem, 3vw, 2.3rem) 1.5rem;
  border-top: .06rem solid var(--so-line);
}

.so-variant-choice {
  width: 100%;
  min-height: 7.2rem;
  position: relative;
  padding: .9rem 2.6rem .9rem .15rem;
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  border-bottom: .06rem solid var(--so-line);
  text-align: left;
  transition:
    background-color var(--so-speed) var(--so-ease),
    padding-left var(--so-speed) var(--so-ease);
}

.so-variant-choice:hover,
.so-variant-choice[aria-pressed="true"] {
  padding-left: .65rem;
  background: var(--so-gold-wash);
}

.so-variant-choice[aria-pressed="true"]::after {
  content: "";
  width: .52rem;
  height: .52rem;
  position: absolute;
  top: 1.3rem;
  right: .75rem;
  border-radius: 50%;
  background: var(--so-gold);
  box-shadow: var(--so-shadow-choice);
}

.so-variant-choice img {
  width: 6.4rem;
  height: 5.4rem;
  object-fit: cover;
  border-radius: var(--so-radius-photo);
  background: var(--so-photo-bg);
}

.so-variant-copy {
  min-width: 0;
  display: grid;
  gap: .16rem;
}

.so-light-label {
  width: max-content;
  color: var(--so-gold-deep);
  font-size: .61rem;
  letter-spacing: .14em;
}

.so-variant-copy strong {
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: .91rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .05em;
}

.so-variant-copy small {
  color: var(--so-sumi-soft);
  font-size: .67rem;
  line-height: 1.55;
}

.so-current-selection {
  min-height: 3.25rem;
  margin: 0 clamp(1.3rem, 3vw, 2.3rem);
  padding: .7rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: .06rem solid var(--so-line);
  color: var(--so-sumi-faint);
}

.so-current-selection span {
  flex: 0 0 auto;
  font-size: .64rem;
  letter-spacing: .12em;
}

.so-current-selection strong {
  min-width: 0;
  overflow: hidden;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-step-actions {
  min-height: 5.8rem;
  padding: 1rem clamp(1.3rem, 3vw, 2.3rem);
  display: grid;
  grid-template-columns: 6.8rem minmax(0, 1fr);
  gap: .7rem;
  border-top: .06rem solid var(--so-line);
  background: var(--so-paper-muted);
}

.so-step-actions button {
  min-height: 3.35rem;
  border-radius: var(--so-radius-control);
  font-size: .77rem;
  letter-spacing: .1em;
  white-space: nowrap;
  transition:
    color var(--so-speed) var(--so-ease),
    background-color var(--so-speed) var(--so-ease),
    border-color var(--so-speed) var(--so-ease),
    opacity var(--so-speed) var(--so-ease),
    transform var(--so-speed) var(--so-ease);
}

.so-back-button {
  border: .06rem solid var(--so-line-strong);
  color: var(--so-sumi-soft);
  background: var(--so-paper);
}

.so-back-button:hover:not(:disabled) {
  border-color: var(--so-gold-line);
  color: var(--so-gold-deep);
}

.so-next-button {
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: .06rem solid var(--so-gold-deep);
  background: var(--so-gold-deep);
  color: var(--so-on-gold);
}

.so-next-button:hover:not(:disabled) {
  background: var(--so-sumi);
  border-color: var(--so-sumi);
}

.so-step-actions button:disabled {
  cursor: not-allowed;
  opacity: .36;
}

.so-step-actions .so-next-button[hidden] {
  display: none;
}

.so-step-actions:has(.so-next-button[hidden]) {
  grid-template-columns: 1fr;
}

.so-result {
  margin: 0 clamp(1.3rem, 3vw, 2.3rem) 1.5rem;
  padding-top: .2rem;
}

.so-result h3 {
  margin: 0 0 1.2rem;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.so-selection-memo {
  margin: 0;
  border-top: .06rem solid var(--so-line);
}

.so-selection-memo > div {
  padding: .9rem 0;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: .06rem solid var(--so-line);
}

.so-selection-memo dt {
  color: var(--so-gold-deep);
  font-size: .66rem;
  letter-spacing: .11em;
}

.so-selection-memo dd {
  margin: 0;
  color: var(--so-sumi);
  font-family: var(--so-font-mincho);
  font-size: .82rem;
  line-height: 1.65;
  letter-spacing: .04em;
}

.so-selection-memo dd small {
  display: block;
  margin-top: .22rem;
  color: var(--so-sumi-soft);
  font-family: var(--so-font-sans);
  font-size: .68rem;
  line-height: 1.65;
}

.so-result-actions {
  margin-top: 1.3rem;
  display: grid;
  gap: .65rem;
}

.so-result-actions a {
  min-height: 3.45rem;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: var(--so-radius-control);
  font-size: .76rem;
  letter-spacing: .08em;
  transition:
    color var(--so-speed) var(--so-ease),
    background-color var(--so-speed) var(--so-ease),
    border-color var(--so-speed) var(--so-ease),
    transform var(--so-speed) var(--so-ease);
}

.so-result-item {
  border: .06rem solid var(--so-gold-deep);
  background: var(--so-gold-deep);
  color: var(--so-on-gold);
}

.so-result-item:hover {
  border-color: var(--so-sumi);
  background: var(--so-sumi);
}

.so-result-shop {
  border: .06rem solid var(--so-gold);
  color: var(--so-gold-deep);
  background: var(--so-paper);
}

.so-result-shop:hover {
  border-color: var(--so-gold-deep);
  background: var(--so-gold-wash);
}

.so-handoff-note {
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border-left: .12rem solid var(--so-gold);
  background: var(--so-gold-wash);
  color: var(--so-sumi-soft);
  font-size: .69rem;
  line-height: 1.75;
}

.so-bundle-note {
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border-left: .12rem solid var(--so-gold);
  background: var(--so-gold-wash);
  color: var(--so-sumi-soft);
  font-size: .75rem;
  line-height: 1.8;
}

.so-source-note {
  width: min(100%, var(--so-max-width));
  margin: 1rem auto 0;
  color: var(--so-sumi-faint);
  font-size: .67rem;
  line-height: 1.7;
  text-align: right;
}

.so-noscript {
  max-width: var(--so-copy-width);
  margin: 2rem auto;
  padding: 1rem;
  border: .06rem solid var(--so-error);
  color: var(--so-error);
  text-align: center;
}

.so-noscript a {
  border-bottom: .06rem solid var(--so-error);
}

@media (min-width: 961px) {
  .so-workspace {
    grid-template-rows: minmax(0, 1fr);
  }

  .so-preview {
    min-height: 0;
  }
}

@media (max-width: 960px) {
  #semi-order-main {
    padding-inline: 1rem;
  }

  .so-intro {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .so-intro h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .so-launch-sets-copy {
    grid-template-columns: 1fr;
  }

  .so-launch-sets-copy .so-kicker,
  .so-launch-sets-copy h2,
  .so-launch-sets-copy > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .so-launch-sets-copy > p:last-child {
    margin-top: .7rem;
  }

  .so-workspace {
    height: auto;
    grid-template-columns: 1fr;
  }

  .so-preview {
    border-right: 0;
    border-bottom: .06rem solid var(--so-line);
  }

  .so-photo-frame,
  .so-photo-frame figure {
    min-height: min(65vw, 34rem);
  }

  .so-selector {
    min-height: 40rem;
  }

  .so-selector-body {
    max-height: 34rem;
  }
}

@media (max-width: 620px) {
  #semi-order-main {
    padding: 2.25rem .75rem 4rem;
  }

  .so-intro {
    margin-bottom: 2rem;
    padding-inline: .45rem;
  }

  .so-kicker {
    margin-bottom: .45rem;
    font-size: .7rem;
  }

  .so-intro h1 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
    line-height: 1.45;
    letter-spacing: .07em;
  }

  .so-intro-copy > p:last-child {
    margin-top: .75rem;
    font-size: .84rem;
  }

  .so-safety-note {
    padding: .8rem 0 .8rem 1rem;
    font-size: .72rem;
  }

  .so-launch-sets {
    padding: 1.25rem .85rem;
  }

  .so-launch-set-links {
    grid-template-columns: 1fr;
  }

  .so-launch-set-links > a {
    grid-template-columns: 6.2rem minmax(0, 1fr);
  }

  .so-launch-set-links img {
    min-height: 6.8rem;
  }

  .so-progress {
    width: 100%;
    grid-template-columns: .68fr .78fr 1.35fr;
  }

  .so-progress button {
    min-height: 3.7rem;
    padding: .65rem .6rem;
    gap: .42rem;
  }

  .so-progress span {
    font-size: .92rem;
  }

  .so-progress strong {
    font-size: .65rem;
    letter-spacing: .06em;
  }

  .so-workspace {
    min-height: 0;
  }

  .so-preview {
    padding: .75rem;
  }

  .so-photo-frame,
  .so-photo-frame figure {
    min-height: 19rem;
  }

  .so-photo-thumbs {
    gap: .4rem;
  }

  .so-photo-thumb,
  .so-photo-thumb img {
    min-height: 0;
    height: 3.45rem;
  }

  .so-preview-copy {
    padding: 1.1rem .35rem .45rem;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .so-preview-copy h2 {
    font-size: 1.35rem;
  }

  .so-preview-vessel {
    margin-top: .25rem;
    text-align: left;
  }

  .so-selector {
    min-height: 0;
    display: block;
  }

  .so-step-head {
    padding: 1.5rem 1.1rem 1rem;
  }

  .so-step-head h2 {
    font-size: 1.35rem;
  }

  .so-selector-body {
    max-height: none;
    overflow: visible;
  }

  .so-loading-state,
  .so-error-state,
  .so-category-filter,
  .so-choice-ledger,
  .so-motif-ledger,
  .so-variant-ledger,
  .so-empty-filter,
  .so-result,
  .so-current-selection {
    margin-right: 1.1rem;
    margin-left: 1.1rem;
  }

  .so-choice {
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .so-choice-image {
    width: 4rem;
    height: 3.7rem;
  }

  .so-choice-copy strong,
  .so-motif-choice strong,
  .so-variant-copy strong {
    font-size: .85rem;
  }

  .so-variant-choice {
    grid-template-columns: 5.4rem minmax(0, 1fr);
  }

  .so-variant-choice img {
    width: 5.4rem;
    height: 4.8rem;
  }

  .so-current-selection {
    margin-top: 1rem;
  }

  .so-step-actions {
    padding: .85rem 1.1rem calc(.85rem + env(safe-area-inset-bottom));
    grid-template-columns: 5.8rem minmax(0, 1fr);
  }

  .so-step-actions button {
    min-height: 3.2rem;
    font-size: .7rem;
  }

  .so-source-note {
    padding-inline: .35rem;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .semi-order-page *,
  .semi-order-page *::before,
  .semi-order-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
