.service-showcase {
  --showcase-ink: #22241f;
  --showcase-muted: #53574d;
  --showcase-rule: #272a2021;
  --showcase-selection: #56633d;
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--showcase-rule);
  border-radius: 24px;
  background: #fdfdfb;
  box-shadow: 0 18px 64px #0007;
}
.showcase-index {
  min-width: 0;
  padding: 10px;
  border-bottom: 1px solid var(--showcase-rule);
  border-radius: 23px 23px 0 0;
  background: #f0f1eb;
}
.showcase-index-label { display: none; }
.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.showcase-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 55px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-align: left;
  background: transparent;
  color: #474a42;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}
.showcase-tabs button:hover { background: #fafbf5; color: var(--showcase-ink); }
.showcase-tabs button[aria-selected="true"] {
  border-color: #2a34211e;
  background: #fbfcf7;
  color: var(--showcase-ink);
  font-weight: 600;
  box-shadow: 0 1px 2px #20261909, 0 3px 6px #2026190d;
}
.showcase-tabs button[aria-selected="true"]::before {
  position: absolute;
  inset: 50% auto auto -1px;
  width: 3px;
  height: 17px;
  border-radius: 2px;
  background: var(--showcase-selection);
  transform: translateY(-50%);
  content: "";
}
.showcase-tabs button:focus-visible { outline: 2px solid #232822; outline-offset: 1px; }
.showcase-thumbnail {
  display: block;
  width: clamp(33px, 4vw, 43px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px #2c302433);
}

.showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.56fr) minmax(0, 1fr);
  gap: clamp(19px, 2.65vw, 40px);
  align-items: center;
  min-width: 0;
  padding: clamp(14px, 1.8vw, 26px);
}
.showcase-panel[hidden] { display: none; }
.showcase-panel:focus-visible { outline: 2px solid #232822; outline-offset: -5px; }
.showcase-panel:not([hidden]) > * { animation: showcase-enter .32s ease-out both; }
@keyframes showcase-enter { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.showcase-figure { min-width: 0; margin: 0; }
.showcase-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.65;
  border: 1px solid #28291f19;
  border-radius: 15px;
  box-shadow: inset 0 1px 0 #ffffffa6;
  container-type: inline-size;
  background: radial-gradient(ellipse at 25% 4%, #f6f5ee, transparent 78%), #d5dacd;
}
.showcase-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 11px 1px 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--showcase-muted);
}
.showcase-figure figcaption strong { color: var(--showcase-ink); font-size: clamp(15px, 1.25vw, 18px); font-weight: 550; }
.showcase-copy { padding-right: clamp(3px, .8vw, 13px); color: var(--showcase-ink); }
.showcase-copy h3 { font-size: clamp(28px, 3.05vw, 46px); font-weight: 560; line-height: 1.02; letter-spacing: -.05em; }
.showcase-copy p { margin: 12px 0 0; max-width: 33ch; font-size: clamp(15px, 1.26vw, 18px); line-height: 1.5; color: var(--showcase-muted); }
.showcase-deliverables {
  margin-top: clamp(17px, 1.75vw, 25px);
  padding-top: 14px;
  border-top: 1px solid var(--showcase-rule);
}
.showcase-deliverables h4 { margin: 0; color: var(--showcase-ink); font-size: 15px; font-weight: 600; }
.showcase-deliverables ul {
  display: grid;
  gap: 5px;
  margin: 7px 0 0;
  padding-left: 17px;
  font-size: clamp(14px, 1.13vw, 17px);
  line-height: 1.35;
  color: var(--showcase-muted);
}
.showcase-deliverables li::marker { color: var(--showcase-selection); }
.showcase-copy a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(13px, 2vw, 24px);
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #252a23;
  border-radius: 10px;
  background: #252a23;
  box-shadow: inset 0 1px #ffffff21, 0 3px 6px #26321d16;
  color: #fbfcf7;
  font-weight: 500;
  font-size: 14px;
}
.showcase-copy a:hover { background: #3b4435; }
.showcase-copy a span { color: var(--lime); }
.showcase-copy a:focus-visible { outline-color: #20251c; }

.daybreak-mark { font-family: var(--heading-font); font-weight: 700; letter-spacing: -.095em; }
.daybreak-mark span { color: #697c45; }
.demo-web, .demo-identity, .demo-graphics { position: absolute; inset: 0; }
.demo-browser {
  position: absolute;
  top: 13%;
  left: 7%;
  width: 77%;
  height: 74%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 1.7cqi;
  border: 1px solid #424a3538;
  background: #fbf6e9;
  box-shadow: 0 .55cqi .9cqi #252a2218, 0 3cqi 5cqi -1.4cqi #2c352953;
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: .65cqi;
  min-height: 4.5cqi;
  padding-inline: 1.7cqi;
  border-bottom: 1px solid #42362522;
  background: #f4efdf;
  color: #49483c;
  font-size: 1.65cqi;
}
.demo-browser-bar i { width: .7cqi; aspect-ratio: 1; border-radius: 50%; background: #88916d; }
.demo-browser-bar span { margin: 0 auto; }
.demo-site { flex: 1; display: grid; grid-template-columns: 53% 47%; min-height: 0; }
.demo-site-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 2.5cqi 3cqi 3.1cqi; color: #272d20; }
.demo-site-copy > b { font-size: 2.9cqi; }
.demo-site-copy strong { display: block; font-family: var(--heading-font); font-size: 4.15cqi; line-height: .98; font-weight: 650; letter-spacing: -.07em; }
.demo-site-copy p { margin-top: 1cqi; font-size: 1.55cqi; line-height: 1.2; }
.demo-site-action { display: inline-block; margin-top: 1.4cqi; padding: .65cqi 1cqi; border-radius: .35cqi; background: #405633; color: white; font-size: 1.45cqi; }
.demo-site img, .demo-phone img, .demo-poster img, .demo-story img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.demo-site img { object-position: 50% 60%; }
.demo-phone {
  position: absolute;
  right: 8%;
  bottom: 7%;
  width: 23%;
  height: 72%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: .9cqi;
  padding: 1.7cqi 1.2cqi 1.2cqi;
  border: .55cqi solid #222722;
  border-radius: 2.7cqi;
  background: #fbf6e9;
  box-shadow: 0 .5cqi .9cqi #1d221f33, 0 2.1cqi 3.5cqi -1cqi #20272065;
  color: #272d20;
}
.demo-phone-top, .demo-phone-order { display: flex; justify-content: space-between; gap: 1cqi; align-items: center; }
.demo-phone-top { font-size: 1.55cqi; }
.demo-phone img { border-radius: .8cqi; object-position: 50% 62%; }
.demo-phone-order { font-size: 1.95cqi; }
.demo-phone-action { padding: .7cqi .2cqi; border-radius: .55cqi; background: #405633; color: #fff; text-align: center; font-size: 1.6cqi; }

.example-identity .showcase-stage { background: radial-gradient(ellipse at 31% 6%, #faf3e7, transparent 72%), #d8d4c6; }
.demo-palette { position: absolute; top: 12%; left: 8%; display: flex; gap: .8cqi; }
.demo-palette i { width: 3.8cqi; aspect-ratio: 1; border-radius: 50%; background: #f2e3c7; border: 1px solid #3b422829; }
.demo-palette i:nth-child(2) { background: #76915b; }
.demo-palette i:nth-child(3) { background: #344530; }
.demo-bag {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: absolute;
  left: 23%;
  bottom: 11%;
  width: 34%;
  height: 74%;
  color: #273624;
  background: linear-gradient(90deg,#9c8664 0%,#dfceaa 9%,#efdfba 45%,#e8d6b1 84%,#bcaa88 100%);
  border-radius: 3% 3% 8% 8%;
  box-shadow: 1.7cqi 2cqi 4cqi #3f422940;
  transform: rotate(-5deg);
}
.demo-bag::before { content: ""; position: absolute; inset: 4% 5% auto; border-top: 2px solid #7a694349; }
.demo-bag strong { font-size: 6.3cqi; }
.demo-bag small { font-size: 1.45cqi; letter-spacing: .13em; }
.demo-cup {
  position: absolute;
  left: 54%;
  bottom: 11%;
  width: 24%;
  height: 57%;
  transform: rotate(7deg);
  filter: drop-shadow(1cqi 1.7cqi 1.9cqi #31382445);
  color: #f8efd9;
}
.demo-cup-body {
  position: absolute;
  inset: 12% 1% 0;
  display: grid;
  place-items: center;
  clip-path: polygon(0 0,100% 0,86% 100%,14% 100%);
  background: linear-gradient(90deg,#37482e,#73824c 44%,#4b6138);
  font-size: 4.4cqi;
}
.demo-cup-body span { color: #d5e5ab; }
.demo-cup-lid { position: absolute; inset: 2% -2% auto; height: 16%; border-radius: 10% 10% 12% 12%; background: linear-gradient(#2f352b 48%,#171c16 50%,#3b4135 69%,#242a20 72%); }

.example-graphics .showcase-stage { background: radial-gradient(ellipse at 20% 4%, #f9f0e7, transparent 73%), #e0d6c8; }
.demo-poster, .demo-story { position: absolute; display: flex; flex-direction: column; box-shadow: 1cqi 2cqi 3.8cqi #493b2a4d; }
.demo-poster {
  top: 9%;
  bottom: 10%;
  left: 18%;
  width: 42%;
  padding: 2.2cqi;
  transform: rotate(-6deg);
  background: #4d6142;
  color: #f2edd8;
}
.demo-poster b { font-size: 2.25cqi; }
.demo-poster b span { color: #dae9a3; }
.demo-poster strong, .demo-story strong { position: relative; font-family: var(--heading-font); font-weight: 700; font-size: 6.5cqi; line-height: .85; letter-spacing: -.085em; }
.demo-poster strong { margin: 1.8cqi 0 1.3cqi; }
.demo-poster img { flex: 1; object-position: 50% 58%; }
.demo-poster small { display: flex; justify-content: space-between; gap: 1cqi; margin-top: 1cqi; font-size: 1.4cqi; }
.demo-story {
  top: 15%;
  bottom: 10%;
  left: 54%;
  width: 27%;
  justify-content: flex-end;
  gap: 1.1cqi;
  overflow: hidden;
  padding: 2.4cqi 1.65cqi;
  border: .38cqi solid #393329;
  border-radius: 2.1cqi;
  transform: rotate(7deg);
  background: #53392b;
  color: white;
}
.demo-story img, .demo-story::after { position: absolute; inset: 0; }
.demo-story::after { content: ""; background: linear-gradient(transparent 30%,#22160dc7 83%); }
.demo-story small, .demo-story strong, .demo-story span { position: relative; z-index: 1; }
.demo-story small, .demo-story span { font-size: 1.2cqi; letter-spacing: .06em; }
.demo-story strong { font-size: 4.3cqi; }

.example-seo .showcase-stage { background: radial-gradient(ellipse at 30% 5%, #f4f5f2, transparent 72%), #d6dfda; }
.demo-seo { display: grid; gap: clamp(8px, 2cqi, 14px); width: min(82%, 470px); }
.demo-result {
  min-height: clamp(90px, 27cqi, 172px);
  padding: clamp(9px, 3cqi, 22px);
  border: 1px solid #20362b21;
  border-radius: 10px;
  background: white;
  box-shadow: 0 8px 26px #25423214;
  color: #242b24;
}
.demo-result-source { display: flex; align-items: center; gap: 8px; margin-bottom: clamp(5px, 1.6cqi, 13px); font-size: clamp(10px, 2.3cqi, 15px); line-height: 1.18; }
.demo-result-source > span { display: grid; place-items: center; width: clamp(20px, 5cqi, 34px); aspect-ratio: 1; border-radius: 50%; background: #e0e9d9; color: #344832; font-weight: 650; }
.demo-result-source small { display: block; color: #545c53; font-size: .82em; }
.demo-result strong { display: block; color: #335d61; font-size: clamp(13px, 3.1cqi, 23px); line-height: 1.2; }
.demo-result p { margin-top: .45em; font-size: clamp(11px, 2.1cqi, 15px); line-height: 1.3; color: #515951; }
.demo-search-options { display: flex; justify-content: center; gap: 6px; }
.demo-search-options button { min-height: 36px; padding: 4px 10px; border: 1px solid #32423342; border-radius: 6px; background: #fbfcf8; color: #243325; font-size: clamp(12px, 2.2cqi, 14px); cursor: pointer; }
.demo-search-options button[aria-pressed="true"] { background: #344832; color: #fff; }
.demo-search-options button:focus-visible { outline-color: #253428; }

@media (min-width: 1120px) {
  .service-showcase { grid-template-columns: clamp(175px, 15vw, 210px) minmax(0, 1fr); }
  .showcase-index {
    padding: 22px 10px 16px;
    border-right: 1px solid var(--showcase-rule);
    border-bottom: 0;
    border-radius: 23px 0 0 23px;
    background: linear-gradient(158deg, #edeee7, #f4f5ef 84%);
  }
  .showcase-index-label {
    display: block;
    margin: 0 0 12px 9px;
    color: var(--showcase-muted);
    font-size: 13px;
    font-weight: 550;
  }
  .showcase-tabs { grid-template-columns: minmax(0, 1fr); }
  .showcase-tabs button { padding-inline: 8px; font-size: 15px; }
  .showcase-thumbnail { width: 42px; }
  .showcase-panel { min-height: clamp(400px, 33vw, 455px); }
  .showcase-stage { aspect-ratio: 1.52; }
}
@media (max-width: 730px) {
  .showcase-index { padding: 8px; }
  .showcase-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-tabs button { gap: 7px; padding-inline: 7px; }
  .showcase-panel { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .showcase-copy { padding: 0 1px 5px; }
  .showcase-copy p { max-width: 42ch; }
  .example-web-app .showcase-stage,
  .example-graphics .showcase-stage { aspect-ratio: 1.32; }
  .demo-browser { top: 9%; left: 4%; width: 80%; height: 74%; }
  .demo-site { grid-template-columns: 49% 51%; }
  .demo-site img { object-position: 38% 58%; }
  .demo-phone { right: 5%; bottom: 6%; width: 28%; }
  .demo-phone img { object-position: center; }
  .demo-phone-top, .demo-phone-action { font-size: max(6px, 1.6cqi); }
  .demo-phone-order { font-size: max(7px, 1.95cqi); }
  .demo-poster { left: 11%; width: 48%; }
  .demo-story { left: 55%; width: 34%; }
  .demo-story img { object-position: 46% center; }
  .example-seo .showcase-stage { aspect-ratio: auto; min-height: 185px; padding: 10px 0; }
  .demo-search-options button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-panel:not([hidden]) > * { animation: none; }
}
