.tkd-services {
  width: min(1136px, calc(100% - 64px));
  margin: 0 auto;
  padding-block: clamp(4rem, 7.5vw, 7rem);
  color: var(--ink);
}
.svc-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.svc-head h2 { margin: 0; font: 400 clamp(2.4rem, 4.2vw, 3.65rem)/1.08 var(--sans); letter-spacing: -.035em; }
.svc-head p { margin-top: .9rem; max-width: 37rem; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.svc-layout { display: grid; grid-template-columns: minmax(14rem, .62fr) minmax(0, 1.38fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.svc-nav { position: sticky; top: 5.5rem; border-top: 1px solid var(--line); }
.svc-nav a, .svc-panel summary {
  display: flex; align-items: center; gap: .85rem; min-height: 54px; padding: .8rem .65rem;
  font-size: 1.05rem; font-weight: 500; line-height: 1.35; letter-spacing: -.025em;
}
.svc-nav a { border-bottom: 1px solid var(--line); color: #5c5856; }
.svc-nav a:hover { color: var(--ink); background-color: #f2f1f0; }
.svc-nav a[aria-current="location"] { color: var(--ink); background: #edebea; box-shadow: inset 2px 0 currentColor; }
.svc-nav img, .svc-panel summary img { flex: none; }
.svc-panels { display: grid; gap: clamp(2.8rem, 5vw, 4rem); }
.svc-panel { scroll-margin-top: 2rem; }
.svc-panel summary { display: none; list-style: none; }
.svc-panel summary::-webkit-details-marker { display: none; }
.svc-panel-content h3 { font: 400 clamp(1.65rem, 2.7vw, 2.35rem)/1.12 var(--sans); letter-spacing: -.035em; }
.svc-panel-content > p { margin-top: .65rem; max-width: 37rem; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.svc-detail-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 550; text-decoration: underline; text-underline-offset: .25em; }
.svc-detail-link:hover { text-decoration-thickness: 2px; }
.svc-board {
  position: relative; overflow: hidden; isolation: isolate; min-height: clamp(15rem, 25vw, 21rem); display: grid; place-items: center;
  margin-top: .75rem; border-radius: .65rem; background-color: var(--svc-paper, #343537);
  background-image: linear-gradient(#ffffff0c 1px, transparent 1px), linear-gradient(90deg, #ffffff0c 1px, transparent 1px), radial-gradient(ellipse at 10% 0%, #ffffff26, transparent 68%);
  background-size: 21px 21px, 21px 21px, cover;
}
.svc-board--app { --svc-paper: #5d5a58; }
.svc-board--sop { --svc-paper: #424449; }
.svc-board--flow { --svc-paper: #4f4d4c; }
.svc-board--host { --svc-paper: #353638; }
.svc-board::before { content: ""; position: absolute; inset: 13.5% 10%; border: 1px dashed #d5d5d548; pointer-events: none; }
.svc-cross { position: absolute; z-index: 1; width: 13px; height: 13px; background: linear-gradient(#c8c8c8,#c8c8c8) center/1px 100% no-repeat, linear-gradient(#c8c8c8,#c8c8c8) center/100% 1px no-repeat; }
.svc-cross-t { left: calc(10% - 6px); top: calc(13.5% - 6px); }
.svc-cross-b { right: calc(10% - 6px); bottom: calc(13.5% - 6px); }
.svc-scene { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 1.6rem 0; }

.svc-browser, .svc-phone, .svc-paper { color: #383838; background: #f7f7f7; box-shadow: .6rem .8rem 0 #1f1f1f80, 0 1.5rem 3rem #1f1f1f70; }
.svc-browser { width: min(65%, 22rem); border: 2px solid #bdbdbd; border-radius: .65rem; overflow: hidden; transform: perspective(900px) rotateY(-10deg) rotateX(8deg) rotate(-4deg); }
.svc-chrome { height: 1.6rem; background: #e1e1e1; display: flex; align-items: center; gap: 3px; padding: 0 .6rem; border-bottom: 1px solid #bbbbbb; }
.svc-chrome i { width: 4px; height: 4px; border-radius: 50%; background: #959595; }
.svc-chrome span { width: 37%; height: 5px; background: #f4f4f4; border-radius: .5rem; margin: 0 auto; }
.svc-browser-page { padding: 5.2% 6.5% 6%; }
.svc-browser-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 7%; }
.svc-browser-nav b { width: 1rem; height: .8rem; background: #5f5f5f; border-radius: 1px 5px; margin-right: auto; }
.svc-browser-nav i, .svc-web-hero > div:first-child > i { height: 3px; background: #b3b3b3; border-radius: 2px; }
.svc-browser-nav i { width: 8%; }
.svc-web-hero { display: grid; grid-template-columns: 1fr .9fr; gap: 9%; align-items: center; }
.svc-web-hero strong { display: block; margin-bottom: .6rem; font-size: clamp(.85rem, 1.8vw, 1.7rem); font-weight: 650; letter-spacing: -.06em; }
.svc-web-hero > div:first-child > i { display: block; width: 100%; margin-top: 4px; }
.svc-web-hero > div:first-child > i:nth-child(3) { width: 72%; }
.svc-web-hero > div:first-child > b { display: block; width: 35%; height: .6rem; margin-top: .8rem; background: #646464; border-radius: .15rem; }
.svc-folds { height: 100%; min-height: 4rem; position: relative; overflow: hidden; background: #dbdbdb; border-radius: .23rem; }
.svc-folds i { position: absolute; width: 56%; height: 114%; bottom: -43%; background: repeating-linear-gradient(90deg, #5f5f5f 0 2px, #868686 2px 5px); transform: rotate(41deg); }
.svc-folds i:nth-child(2) { left: 37%; bottom: -27%; background: repeating-linear-gradient(90deg, #7a7a7a 0 2px, #adadad 2px 5px); }
.svc-folds i:nth-child(3) { left: 75%; bottom: -4%; background: #b5b5b5; }
.svc-web-grid { display: flex; gap: 5%; margin-top: 8%; }
.svc-web-grid i { flex: 1; height: .8rem; border-block: 3px solid #e0e0e0; }
.svc-phone { width: 7.8rem; height: 14.8rem; padding: .5rem .65rem; border: 4px solid #b1b1b1; border-radius: 1.4rem; transform: rotate(7deg); }
.svc-ear { width: 35%; height: .3rem; margin: 0 auto 1rem; border-radius: 1rem; background: #3b3b3b; }
.svc-phone strong, .svc-paper strong { font-size: 1.25rem; letter-spacing: -.055em; }
.svc-phone-card { height: 3.25rem; border-radius: .4rem; background: repeating-linear-gradient(135deg, #6a6a6a 0 3px, #959595 4px 7px); margin: .6rem 0; }
.svc-phone i { display: block; height: .8rem; border-top: 3px solid #d6d6d6; }
.svc-phone b { display: block; height: .8rem; width: 66%; margin: .5rem auto; border-radius: 1rem; background: #646464; }
.svc-paper { width: min(68%, 15rem); padding: 1.5rem; transform: rotate(-5deg); border-radius: .35rem; }
.svc-paper img { display: block; margin: 0 0 .55rem; }
.svc-paper strong { display: block; margin-bottom: .8rem; }
.svc-paper span { display: block; font-size: .8rem; padding: .57rem 0; border-top: 1px solid #dedede; }
.svc-paper span::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .5rem; border: 1.5px solid #868686; }
.svc-flowchart, .svc-stack { color: #3b3b3b; display: grid; justify-items: center; width: 100%; }
.svc-flowchart b, .svc-stack span { display: block; padding: .8rem 1.1rem; min-width: 9.5rem; font-size: .9rem; font-weight: 550; background: #f0f0f0; border: 2px solid #c8c8c8; border-radius: .3rem; box-shadow: 4px 5px 0 #1c1c1c80; }
.svc-flowchart b { text-align: center; }
.svc-flowchart b:nth-of-type(2) { background: #959595; color: #232323; }
.svc-flowchart i, .svc-stack i { height: 1.5rem; border-left: 1px dashed #dadada; }
.svc-stack img { filter: invert(1); }
.svc-stack span { min-width: 12rem; margin-bottom: .4rem; }
.svc-stack b { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #808080; margin-right: .6rem; }
@media (max-width: 760px) {
  .tkd-services { width: calc(100% - 38px); }
  .svc-layout, .svc-panels { display: block; }
  .svc-nav { display: none; }
  .svc-panel { border-top: 1px solid var(--line); }
  .svc-panel:last-child { border-bottom: 1px solid var(--line); }
  .svc-panel summary { display: flex; min-height: 58px; padding-inline: .2rem; cursor: pointer; }
  .svc-panel summary::after { content: "+"; margin-left: auto; font: 400 1.4rem/1 var(--mono); }
  .svc-panel[open] summary::after { content: "−"; }
  .svc-panel-content { padding: .35rem 0 1.6rem; }
  .svc-panel-content h3 { font-size: 1.55rem; }
  .svc-board { min-height: 14rem; }
}
@media (min-width: 761px) and (max-height: 480px) {
  .svc-nav { top: 1rem; }
}
