/* Authored, static project covers. Each drawing explains a shipped capability. */
.case-grid {
  gap: 88px 32px;
}

.case-card {
  min-width: 0;
}

.case-visual {
  --art-ink: #263e50;
  --art-muted: #536d80;
  --art-rule: #bdcdd8;
  height: clamp(350px, 33vw, 470px);
  border: 1px solid rgba(45, 73, 93, .04);
  border-radius: 3px;
  color: var(--art-ink);
  container-type: inline-size;
}

.case-copy {
  padding-top: 26px;
}

.case-copy h3 {
  max-width: 25ch;
  font-size: clamp(27px, 2.45vw, 37px);
  line-height: 1.14;
  letter-spacing: -.04em;
}

.case-copy p {
  margin-top: 18px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.65;
}

.case-card--wide {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(36px, 5vw, 80px);
}

.case-card--wide .case-visual {
  height: clamp(410px, 37vw, 520px);
}

.case-card--wide .case-copy {
  padding-block: 32px;
}

.case-card--wide h3 {
  max-width: 17ch;
  font-size: clamp(34px, 3.4vw, 50px);
}

.case-card--wide p {
  max-width: 39ch;
}

.case-card:last-child {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
}

#solutions .case-art-note {
  max-width: 47ch;
  font-size: 13px;
  line-height: 1.5;
}

/* Service operations: one working surface, staggered states, document stock. */
.art-ops {
  background: #dce7ee;
}

.art-ops::before,
.art-ops::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.art-ops::before {
  width: 76%;
  height: 59%;
  background: #bdd2e2;
  border: 1px solid #aac4d7;
  transform: translate(4%, 12%) rotate(7deg);
}

.art-ops::after {
  inset: 0;
  background: linear-gradient(90deg, transparent 24.9%, rgba(74, 107, 132, .07) 25%, transparent 25.1%, transparent 74.9%, rgba(74, 107, 132, .07) 75%, transparent 75.1%);
  z-index: -1;
}

.ops-board {
  position: relative;
  width: 84%;
  height: auto;
  padding: 0 24px 28px;
  border: 1px solid #c5d1da;
  background: #f7f9fa;
  box-shadow: 0 26px 38px -25px rgba(29, 52, 70, .42), 0 3px 0 #e6edf2;
  color: var(--art-ink);
  transform: rotate(-5deg);
}

.ops-head {
  margin-inline: -24px;
  padding: 22px 24px 20px;
  gap: 10px;
  border-bottom: 1px solid #b6cbd9;
  background: #c5dbea;
  font-size: clamp(12px, 2.3cqi, 16px);
}

.ops-head span:first-child {
  color: #152d3f;
}

.ops-table {
  grid-template-rows: repeat(3, 58px);
  gap: 0 12px;
  padding-top: 20px;
  background: linear-gradient(90deg, transparent 33.2%, #dce4eb 33.2%, #dce4eb calc(33.2% + 1px), transparent calc(33.2% + 1px), transparent 66.6%, #dce4eb 66.6%, #dce4eb calc(66.6% + 1px), transparent calc(66.6% + 1px));
}

.task {
  position: relative;
  padding: 10px 8px;
  border: 1px solid #c5d7e4;
  border-radius: 2px;
  background: #e7eff5;
  color: #304e64;
  font-size: clamp(10px, 1.9cqi, 13px);
  line-height: 1.25;
  white-space: normal;
}

.task-b {
  background: #a9cbe4;
  border-color: #91b7d3;
  color: #173b54;
}

.task-c {
  background: #d3e2ed;
}

.task-d {
  background: #f3f7fa;
  border-color: #9cb9cf;
}

.ops-table i {
  width: 62%;
  height: 3px;
  margin-left: 8px;
  background: #cbd8e2;
}

/* Marketplace: cost components resolve into a single price boundary. */
.art-market {
  background: #e2e9ed;
}

.art-market::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14%;
  width: 1px;
  background: #c4d2dc;
}

.market-board {
  position: relative;
  width: 80%;
  padding: 28px 30px 26px;
  background: #f6f8f9;
  border: 1px solid #cbd6de;
  box-shadow: 12px 15px 0 -1px #c8d9e6, 12px 15px 0 0 #bacddb;
  color: var(--art-ink);
  transform: rotate(3deg);
}

.market-tabs {
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-color: #c8d5df;
  font-size: 13px;
  color: var(--art-muted);
}

.market-tabs strong {
  font-size: 17px;
  font-weight: 400;
  color: #18384e;
}

.cost-stack {
  padding-top: 22px;
}

.cost-stack > div {
  grid-template-columns: minmax(80px, .9fr) minmax(0, 1.4fr);
  gap: 14px;
  margin: 14px 0;
  font-size: 12px;
}

.cost-stack i {
  height: 19px;
  width: 90%;
  background: #91b9d7;
  border-top: 1px solid rgba(255, 255, 255, .55);
}

.cost-stack > div:nth-child(2) i {
  width: 53%;
  background: #b4cede;
}

.cost-stack > div:nth-child(3) i {
  width: 70%;
  background: #d0dfe9;
}

.price-floor {
  gap: 15px;
  margin-top: 29px;
  font-size: clamp(18px, 4cqi, 26px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.floor-rule {
  position: relative;
  height: 4px;
  background: #316d94;
}

.floor-rule::before,
.floor-rule::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 12px;
  background: #316d94;
}

.floor-rule::before { left: 0; }
.floor-rule::after { right: 0; }

.market-board > p {
  margin-top: 13px;
  font-size: 10px;
  color: var(--art-muted);
}

/* Email to order: loose correspondence becomes one assembled document. */
.art-orders {
  align-items: center;
  justify-content: center;
  padding: 34px 32px;
  background: #dbe6ee;
}

.mail-thread {
  position: relative;
  flex: 0 0 49%;
  width: 49%;
  min-width: 0;
  padding: 20px 25px 24px 16px;
  background: #eaf0f4;
  border-top: 1px solid #b9cbd9;
  border-bottom: 1px solid #b9cbd9;
  transform: rotate(-6deg);
  color: var(--art-ink);
}

.thread-title {
  margin-bottom: 24px;
  font-size: 16px;
  letter-spacing: -.02em;
}

.thread-line {
  padding: 15px 0;
  border-color: #c3d2dd;
}

.thread-line span {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.3;
}

.thread-line i {
  height: 3px;
  background: #afc5d5;
}

.assembled-order {
  position: relative;
  flex: 0 0 55%;
  width: 55%;
  min-width: 0;
  margin-left: -3%;
  padding: 28px 22px 24px;
  border: 1px solid #cbd7e0;
  background: #f8fafb;
  box-shadow: 0 23px 30px -23px #47647b, 6px 7px 0 -1px #e5edf3, 6px 7px 0 0 #c1d2df;
  transform: translateY(12px) rotate(4deg);
}

.assembled-order strong {
  margin-bottom: 28px;
  color: #263e50;
  font-size: clamp(29px, 6.2cqi, 42px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.assembled-order > div {
  margin-bottom: 23px;
}

.assembled-order > div span {
  font-size: 12px;
  color: var(--art-muted);
}

.assembled-order i {
  width: 94%;
  height: 4px;
  background: #adc9dd;
}

.assembled-order > div:nth-child(3) i {
  width: 68%;
}

.assembled-order footer {
  gap: 9px 12px;
  padding-top: 17px;
  border-color: #cbd9e3;
  font-size: 10px;
  line-height: 1.35;
}

/* Creator research: a typographic regional index with a deliberate selection. */
.art-creators {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 36px 42px;
  background: #d3e4ef;
}

.creator-index {
  width: 100%;
}

.creator-region {
  margin-bottom: 35px;
  font-size: clamp(62px, 16.5cqi, 104px);
  line-height: .9;
  letter-spacing: -.065em;
  color: #254961;
}

.index-caption {
  top: 3px;
  right: 0;
  max-width: 11ch;
  font-size: 11px;
  line-height: 1.4;
  color: #3e607b;
}

.index-columns,
.index-row {
  grid-template-columns: 1.1fr 1fr .8fr;
  gap: 23px;
}

.index-columns {
  margin-bottom: 12px;
  font-size: 12px;
  color: #3e607b;
}

.index-row {
  min-height: 35px;
  padding-block: 15px;
  border-color: #b0c9db;
}

.index-row i {
  height: 4px;
  background: #9bb9ce;
}

.index-row--selected {
  position: relative;
  z-index: 1;
  margin-inline: -14px;
  padding: 16px 14px;
  border: 1px solid #b6cdda;
  background: #f7fafb;
  box-shadow: 0 11px 18px -14px #536f83;
  transform: rotate(-2deg);
}

.index-row--selected i {
  background: #44789e;
}

.outreach-strip {
  position: relative;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #a5c2d6;
  font-size: 12px;
  color: #36576f;
}

/* Telegram demand: context stays beside the selected request, on light paper. */
.art-signals {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 0;
  padding: 36px 28px;
  background: #e6edf2;
  color: var(--art-ink);
}

.discussion-feed {
  position: relative;
  margin-right: -16px;
  padding: 24px 25px 18px;
  background: #f5f8fa;
  border: 1px solid #c9d7e1;
  transform: rotate(-4deg);
}

.discussion-label {
  margin-bottom: 22px;
  font-size: 14px;
  color: #527086;
}

.discussion-row {
  padding-block: 17px;
  border-color: #d1dce4;
}

.discussion-row i {
  height: 3px;
  background: #becfdd;
}

.discussion-row--match {
  position: relative;
  margin-left: -35px;
  margin-right: -1px;
  padding: 20px 18px;
  border: 1px solid #a5c5dc;
  border-left: 1px solid #568caf;
  background: #d6e7f3;
}

.discussion-row--match span {
  margin-bottom: 9px;
  font-size: 11px;
  color: #526e82;
}

.discussion-row--match strong {
  font-size: clamp(19px, 4.15cqi, 26px);
  line-height: 1.17;
  letter-spacing: -.025em;
  color: #244c68;
}

.selected-request {
  position: relative;
  z-index: 1;
  padding: 23px 18px;
  border: 1px solid #b6ccdc;
  background: #c1d9ea;
  box-shadow: 0 20px 25px -25px #3e607b;
  transform: translateY(25px) rotate(5deg);
}

.request-fields {
  gap: 13px;
  font-size: 11px;
  color: #42647d;
}

.request-fields span {
  padding-bottom: 9px;
  border-color: #9cbdd4;
}

.selected-request p {
  margin-top: 26px;
  max-width: 12ch;
  font-size: clamp(18px, 3.7cqi, 23px);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: #244c68;
}

/* Investor research: distributed sources resolve into a structured briefing. */
.art-research {
  background: #dfe8ee;
}

.art-research::before {
  content: "";
  position: absolute;
  inset: 12% 9%;
  border-block: 1px solid #c5d4df;
  transform: rotate(-6deg);
}

.research-index {
  position: relative;
  width: 88%;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
}

.research-map {
  position: relative;
  margin-right: -20%;
  align-self: center;
}

.research-map > span {
  display: block;
  margin-left: 7%;
  font-size: 13px;
  color: #567286;
}

.research-map svg {
  display: block;
  width: 116%;
  margin-top: 16px;
  margin-left: -7%;
  overflow: visible;
  stroke: #739bb7;
  stroke-width: 1.3;
}

.research-map path {
  stroke-opacity: .7;
}

.research-map circle {
  fill: #b9d1e2;
  stroke: #6e98b7;
  stroke-width: 1.4;
}

.research-map circle:nth-last-child(2),
.research-map circle:nth-last-child(5) {
  fill: #8fb7d3;
}

.research-map circle:last-child {
  fill: #7eaacb;
  stroke: #4f80a3;
}

.research-report {
  position: relative;
  padding: 30px 26px 34px;
  border: 1px solid #c5d2dc;
  background: #f7f9fa;
  box-shadow: 0 24px 28px -24px #425f75, 7px 8px 0 -1px #c7d9e6, 7px 8px 0 0 #b4cadb;
  transform: rotate(-5deg);
  font-size: 13px;
}

.research-report strong {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid #bdcfdc;
  font-size: clamp(22px, 4.4cqi, 31px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #294e69;
}

.research-report > div {
  margin-top: 24px;
  color: #546e82;
}

.research-report i {
  width: 88%;
  height: 3px;
  margin-top: 11px;
  background: #b2ccdf;
}

.research-report > div:last-child i {
  width: 62%;
}

/* Tablet retains the pair rhythm, with simpler geometry inside each cover. */
@media (min-width: 701px) and (max-width: 1100px) {
  .case-grid { gap: 64px 24px; }
  .case-visual { height: 350px; }
  .case-card--wide { gap: 34px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .case-card:last-child { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .case-card--wide .case-visual { height: 395px; }
  .case-card--wide h3 { font-size: clamp(31px, 3.8vw, 40px); }
  .case-copy p { font-size: 15px; }
  .ops-board { width: 87%; padding-inline: 15px; }
  .ops-head { margin-inline: -15px; padding-inline: 15px; font-size: 12px; }
  .ops-table { gap: 0 8px; }
  .task { padding: 9px 5px; font-size: 10px; }
  .market-board { width: 83%; padding: 24px 20px; }
  .market-tabs { font-size: 11px; }
  .market-tabs strong { font-size: 15px; }
  .cost-stack > div { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; font-size: 11px; }
  .price-floor { font-size: 21px; }
  .art-orders { padding: 28px 20px; }
  .mail-thread { padding-inline: 12px 18px; }
  .thread-title { font-size: 13px; }
  .thread-line span { font-size: 11px; }
  .assembled-order { padding: 25px 16px 22px; }
  .assembled-order strong { font-size: 29px; }
  .assembled-order footer { font-size: 9px; gap: 8px; }
  .art-creators { padding: 30px 25px; }
  .creator-region { font-size: 62px; margin-bottom: 32px; }
  .index-caption { top: 3px; font-size: 10px; max-width: 9ch; }
  .index-columns, .index-row { gap: 14px; }
  .index-columns, .outreach-strip { font-size: 11px; }
  .index-row { min-height: 30px; padding-block: 12px; }
  .index-row--selected { padding-block: 13px; }
  .outreach-strip { margin-top: 20px; padding-top: 14px; }
  .art-signals { padding: 30px 23px; }
  .discussion-feed { padding: 22px 18px 17px; margin-right: -12px; }
  .discussion-row--match { margin-left: -26px; padding-inline: 13px; }
  .discussion-row--match strong { font-size: 19px; }
  .discussion-label { font-size: 12px; }
  .selected-request { padding: 22px 13px; }
  .selected-request p { font-size: 18px; }
  .request-fields { font-size: 10px; }
  .research-index { width: 90%; }
  .research-report { padding: 25px 18px 28px; }
  .research-report strong { font-size: 23px; }
  .research-report > div { font-size: 12px; }
}

@media (max-width: 700px) {
  .case-grid { grid-template-columns: 1fr; gap: 55px; }
  .case-card--wide,
  .case-card:last-child { display: block; grid-column: auto; }
  .case-visual,
  .case-card--wide .case-visual { height: 345px; }
  .case-copy,
  .case-card--wide .case-copy { padding: 23px 0 0; }
  .case-copy h3,
  .case-card--wide h3 { max-width: 24ch; font-size: 29px; line-height: 1.16; }
  .case-copy p,
  .case-card--wide p { max-width: 48ch; margin-top: 14px; font-size: 15px; line-height: 1.6; }
  #solutions .case-art-note { max-width: 36ch; font-size: 12px; }
  .ops-board { width: 87%; padding: 0 14px 23px; }
  .ops-head { margin-inline: -14px; padding: 20px 14px 18px; gap: 8px; font-size: 12px; }
  .ops-table { grid-template-rows: repeat(3, 53px); gap: 0 8px; padding-top: 18px; }
  .task { padding: 8px 5px; font-size: 10px; }
  .market-board { width: 81%; padding: 25px 22px; }
  .market-tabs { font-size: 12px; }
  .market-tabs strong { font-size: 16px; }
  .cost-stack { padding-top: 17px; }
  .cost-stack > div { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; font-size: 11px; }
  .cost-stack i { height: 16px; }
  .price-floor { font-size: 23px; margin-top: 24px; }
  .market-board > p { font-size: 10px; }
  .art-orders { padding: 29px 23px; }
  .mail-thread { padding: 19px 19px 20px 12px; }
  .thread-title { font-size: 14px; }
  .thread-line span { font-size: 11px; }
  .assembled-order { padding: 26px 17px 23px; }
  .assembled-order strong { font-size: 32px; }
  .assembled-order > div span { font-size: 11px; }
  .assembled-order footer { font-size: 10px; }
  .art-creators { padding: 32px 27px; }
  .creator-region { font-size: 64px; margin-bottom: 27px; }
  .index-caption { top: 2px; font-size: 10px; max-width: 10ch; }
  .index-columns, .index-row { gap: 18px; }
  .index-columns, .outreach-strip { font-size: 11px; }
  .index-columns { margin-bottom: 10px; }
  .index-row { min-height: 28px; padding-block: 11px; }
  .index-row--selected { padding-block: 12px; }
  .outreach-strip { margin-top: 17px; padding-top: 13px; }
  .art-signals { padding: 31px 25px; }
  .discussion-feed { padding: 22px 18px 18px; margin-right: -13px; }
  .discussion-label { font-size: 12px; }
  .discussion-row--match { margin-left: -27px; padding: 17px 13px; }
  .discussion-row--match strong { font-size: 21px; }
  .discussion-row--match span { font-size: 10px; }
  .selected-request { padding: 23px 14px; }
  .request-fields { gap: 12px; font-size: 10px; }
  .selected-request p { margin-top: 24px; font-size: 19px; }
  .research-index { width: 90%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .research-map > span { font-size: 11px; }
  .research-report { padding: 24px 17px 28px; }
  .research-report strong { font-size: 23px; margin-bottom: 26px; padding-bottom: 17px; }
  .research-report > div { margin-top: 22px; font-size: 11px; }
}

@media (max-width: 370px) {
  .case-visual,
  .case-card--wide .case-visual { height: 315px; }
  .case-copy h3,
  .case-card--wide h3 { font-size: 27px; }
  .ops-board { width: 88%; padding-inline: 11px; }
  .ops-head { margin-inline: -11px; padding-inline: 11px; font-size: 10px; }
  .ops-table { grid-template-rows: repeat(3, 49px); gap: 0 6px; }
  .task { font-size: 9px; padding-inline: 4px; }
  .market-board { padding-inline: 17px; }
  .market-tabs { font-size: 10px; gap: 7px; }
  .market-tabs strong { font-size: 14px; }
  .cost-stack > div { grid-template-columns: 74px minmax(0, 1fr); gap: 8px; font-size: 10px; }
  .price-floor { font-size: 20px; }
  .market-board > p { font-size: 9px; }
  .art-orders { padding-inline: 19px; }
  .mail-thread { padding-left: 10px; padding-right: 14px; }
  .thread-title { font-size: 12px; }
  .thread-line span { font-size: 10px; }
  .assembled-order { padding: 23px 13px; }
  .assembled-order strong { font-size: 29px; }
  .assembled-order footer { font-size: 9px; gap: 7px; }
  .art-creators { padding-inline: 22px; }
  .creator-region { font-size: 53px; }
  .index-caption { font-size: 9px; max-width: 9ch; }
  .index-columns, .outreach-strip { font-size: 10px; }
  .index-columns, .index-row { gap: 12px; }
  .art-signals { padding-inline: 20px; }
  .discussion-feed { padding-inline: 15px; }
  .discussion-row--match { margin-left: -23px; padding-inline: 10px; }
  .discussion-row--match strong { font-size: 18px; }
  .discussion-row--match span { font-size: 9px; }
  .selected-request { padding-inline: 11px; }
  .selected-request p { font-size: 17px; }
  .research-report { padding-inline: 14px; }
  .research-report strong { font-size: 20px; }
}
