.services, .studio {
  --card-border: var(--border-cartoon);
  --card-shadow: var(--shadow-md);
  --card-gap: clamp(16px, 2vw, 26px);
  overflow-x: clip;
  color: var(--ink);
}
/* Commission options (snow section #2 — playful sky-blue with cartoon grid + crisp white/sunny cards) */
.services {
  --card: var(--white);
  position: relative;
  isolation: isolate;
  background-color: var(--sky);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(165deg, #52b8ff 0%, #3399ff 56%, #2484f2 100%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
  border-block: 3px solid var(--ink);
}
.services > .wrap { position: relative; z-index: 1; }

/* Studio workflow (clean snow-free white section) */
.studio {
  --card: var(--white);
  background: var(--white);
}
.services h2, .studio h2 {
  max-width: none;
  margin: 0 0 clamp(25px, 3vw, 40px);
}
.services h2 {
  color: var(--white);
  -webkit-text-stroke: .03em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--ink);
}
.studio h2 { color: var(--ink); }
.commission-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--card-gap);
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
  margin: 0;
  padding: 0;
}
.service-list > details,
.commission-example > :is(.service-proof, .model-brief),
.lookbook {
  min-width: 0;
  border: var(--card-border);
  border-radius: 22px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--card-shadow);
}
.service-list > details {
  scroll-margin-top: 100px;
  transition: background-color .36s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.fold-body { display: flow-root; }
.fold-moving { overflow: hidden; }
.service-list > details[open]:not(:has(> summary[aria-expanded="false"])) {
  background: var(--sunny);
  box-shadow: var(--shadow-lg);
}
.service-list > details > summary {
  display: grid;
  grid-template: "icon control" auto "title title" auto / 1fr auto;
  align-items: start;
  gap: 14px 10px;
  padding: clamp(16px, 1.5vw, 24px);
  list-style: none;
  cursor: pointer;
  border-radius: 19px;
  color: inherit;
}
.service-list > details > summary strong,
.studio-process b {
  grid-area: title;
  font: 400 clamp(1.2rem, 1.75vw, 1.55rem)/1.15 var(--display);
}
.service-list > details p {
  margin: 0;
  padding: 0 clamp(16px, 1.5vw, 24px) 20px;
  color: var(--ink);
  font: 700 1rem/1.46 var(--body, sans-serif);
}
.service-list > details > summary::-webkit-details-marker,
.commission-example summary::-webkit-details-marker,
.lookbook > summary::-webkit-details-marker { display: none; }
.service-list > details > summary > span {
  grid-area: control;
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--sky-soft);
  box-shadow: 0 2px 0 var(--ink);
  transition: background-color .28s var(--ease), color .28s var(--ease), transform .45s var(--ease);
}
.service-list > details > summary > span::before,
.service-list > details > summary > span::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.service-list > details > summary > span::before { width: 10px; height: 2.2px; inset: calc(50% - 1.1px) auto auto calc(50% - 5px); }
.service-list > details > summary > span::after { transition: transform .38s var(--ease), opacity .28s var(--ease); width: 2.2px; height: 10px; inset: calc(50% - 5px) auto auto calc(50% - 1.1px); }
.service-list > details[open]:not(:has(> summary[aria-expanded="false"])) > summary > span { background: var(--white); }
.service-list > details[open]:not(:has(> summary[aria-expanded="false"])) > summary > span::after { opacity: 0; transform: rotate(90deg); }
.service-symbol {
  grid-area: icon;
  position: relative;
  display: grid;
  width: 44px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 13px;
  color: var(--white);
  background: var(--sky);
  box-shadow: 0 3px 0 var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .45s var(--ease);
}
.service-list > details[open]:not(:has(> summary[aria-expanded="false"])) .service-symbol { color: var(--ink); background: var(--white); }
.service-symbol::before, .service-symbol::after { content: ""; position: absolute; }
.symbol-thumbnail::before { width: 21px; height: 15px; border: 2px solid; border-radius: 3px; }
.symbol-thumbnail::after {
  width: 11px; height: 8px; background: currentColor;
  clip-path: polygon(0 90%, 40% 25%, 55% 48%, 80% 0, 100% 90%);
}
.symbol-skin::before { width: 16px; height: 16px; border: 2px solid; border-top-width: 5px; }
.symbol-skin::after { width: 3px; height: 3px; background: currentColor; transform: translate(-3px, 1px); box-shadow: 6px 0 currentColor; }
.symbol-assets::before { width: 19px; height: 12px; border: 2px solid; border-radius: 2px; transform: translate(2px, -2px); }
.symbol-assets::after { width: 16px; height: 9px; border: solid; border-width: 0 0 2px 2px; transform: translate(-3px, 3px); }
.symbol-model::before {
  width: 21px; height: 21px; background: currentColor;
  clip-path: polygon(50% 0, 97% 24%, 50% 49%, 3% 24%, 50% 0, 50% 54%, 98% 29%, 98% 74%, 52% 99%, 52% 54%, 48% 54%, 48% 99%, 2% 74%, 2% 29%, 48% 54%, 50% 54%);
}
.commission-example { min-width: 0; }
.commission-example > .service-proof {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: zoom-in;
  transition: transform .42s var(--ease), box-shadow .42s var(--ease);
}
.commission-example > .service-proof[hidden],
.commission-example > .model-brief[hidden] { display: none; }
.commission-example .service-proof > summary { display: block; padding: 0; list-style: none; cursor: zoom-in; }
.service-proof-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-radius: 19px 19px 0 0;
  border-bottom: var(--card-border);
  background: var(--sky-soft);
}
.service-proof-frame img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .8s var(--ease-expo); }
.service-proof[data-service="service-skins"] .service-proof-frame img { padding: 10px; image-rendering: pixelated; }
.service-proof-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  color: var(--ink);
  font: 400 clamp(1.06rem, 1.5vw, 1.3rem)/1.3 var(--display);
}
.service-proof-label::after {
  content: "+";
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--sunny); color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
  font: 850 1.25rem/1 var(--body, sans-serif);
  transition: transform .45s var(--ease), background-color .28s var(--ease);
}
.commission-example > .model-brief { margin: 0; padding: clamp(22px, 2.4vw, 34px); }
.model-brief h3 { margin: 0 0 14px; font: 400 1.55rem/1.15 var(--display); }
.model-brief dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin: 0; }
.model-brief dt { color: var(--sky-deep); font-weight: 850; }
.model-brief dd { margin: 0; color: var(--ink-soft); }
.service-list .brand-samples { display: flex; align-items: center; gap: 10px; padding: 0 16px 16px; }
.service-list .brand-samples :is(.art-trigger, .art-inspect > summary) { border-radius: 8px; }

/* Studio process: three playful cartoon cards side-by-side (just like fellystar's 01 / 02 / 03 row). */
.studio-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: studio-step;
}
.studio-process li {
  counter-increment: studio-step;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 32px);
  color: var(--ink);
  background: var(--sky-tint);
  border: var(--card-border);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), background-color .3s var(--ease);
}
.studio-process li:last-child {
  background: var(--sky);
  color: var(--white);
}
.studio-process li > span { color: var(--ink-soft); font: 700 1rem/1.48 var(--body, sans-serif); }
.studio-process li:last-child > span { color: #eef7ff; }
.studio-process li::before {
  content: counter(studio-step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 46px;
  height: 40px;
  margin-bottom: 6px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  color: var(--white);
  background: var(--sky);
  box-shadow: 0 3px 0 var(--ink);
  font: 400 1.15rem/1 var(--display);
  transition: transform .45s var(--ease), background-color .28s var(--ease), color .28s var(--ease);
}
.studio-process li:last-child::before {
  background: var(--sunny);
  color: var(--ink);
}
.lookbook {
  margin: clamp(26px, 3.2vw, 44px) 0 0;
  background: var(--white);
  transition: background-color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.lookbook > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px clamp(18px, 2vw, 28px);
  border-radius: 19px;
  color: var(--ink);
  font: 400 clamp(1.2rem, 1.65vw, 1.48rem)/1.2 var(--display);
  list-style: none;
  cursor: pointer;
}
.lookbook > summary > span {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border: 2px solid var(--ink); border-radius: 50%;
  color: var(--ink); background: var(--sky-soft);
  box-shadow: 0 2px 0 var(--ink);
  transition: transform .45s var(--ease), background-color .28s var(--ease), color .28s var(--ease);
  font: 850 1.4rem/1 var(--body, sans-serif);
}
.lookbook[open]:not(:has(> summary[aria-expanded="false"])) > summary > span { transform: rotate(45deg); color: var(--ink); background: var(--sunny); }
.lookbook-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 4px clamp(16px, 2vw, 27px) 22px; }
.lookbook-grid :is(.art-trigger, .art-inspect > summary) { overflow: hidden; border: 2px solid var(--ink); border-radius: 14px; }
.lookbook-grid :is(.art-trigger, summary) img { display: block; width: 100%; }
.lookbook-grid .sheet-name { display: block; padding: 9px 11px; color: var(--ink); background: var(--sky-tint); font: 750 .9rem/1.3 var(--body, sans-serif); text-align: left; }
.services :focus-visible { outline: 3px solid var(--sunny); outline-offset: 4px; }
.studio :focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 4px; }
@media (hover: hover) {
  .service-list > details:not([open]):hover, .service-list > details:has(> summary[aria-expanded="false"]):hover {
    background: #fffdf4;
    transform: translateY(-4px);
    box-shadow: 0 9px 0 var(--ink);
  }
  .service-list > details:not([open]):hover .service-symbol, .service-list > details:has(> summary[aria-expanded="false"]):hover .service-symbol { transform: rotate(-6deg) scale(1.07); }
  .service-list > details:not([open]):hover > summary > span, .service-list > details:has(> summary[aria-expanded="false"]):hover > summary > span { background: var(--sunny); transform: rotate(90deg); }
  .commission-example > .service-proof:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--ink); }
  .commission-example > .service-proof:hover .service-proof-frame img { transform: scale(1.04); }
  .commission-example > .service-proof:hover .service-proof-label::after { transform: rotate(90deg); background: var(--sky); color: var(--white); }
  .studio-process li:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--ink); }
  .studio-process li:hover::before { transform: translateY(-2px) rotate(-5deg) scale(1.06); }
  .lookbook:not([open]):hover, .lookbook:has(> summary[aria-expanded="false"]):hover { background: var(--sky-tint); transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
  .lookbook:not([open]):hover > summary > span, .lookbook:has(> summary[aria-expanded="false"]):hover > summary > span { transform: rotate(90deg); background: var(--sky); color: var(--white); }
}
.service-list > details > summary:active, .lookbook > summary:active { transform: translateY(1px); }
@media (min-width: 1150px) {
  .commission-board { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .commission-board { grid-template-columns: 1fr; }
  .commission-example { width: min(100%, 570px); }
  .lookbook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .studio-process { grid-template-columns: 1fr; }
  .studio-process li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
  .studio-process li::before { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .studio-process b { grid-area: auto; }
  .studio-process li > span { grid-column: 2; }
}
@media (max-width: 510px) {
  .service-list { grid-template-columns: 1fr; }
  .service-list > details > summary { grid-template: "icon title control" auto / 42px 1fr 28px; align-items: center; gap: 12px; padding: 14px; }
  .service-list > details p { padding-inline: 14px; }
  .service-symbol { width: 40px; height: 38px; }
  .lookbook-grid { grid-template-columns: 1fr; }
}
