/* ============ Stitch case study: app screens, website, pitch deck, data room ============ */
.st-app, .st-room-sec { --st-cream: #FDF0DA; --st-brown: #6B4226; --st-tan: #99663F; }

/* hero: the screens arrive with their own phone frame */
.st-fan .st-fan__ph { margin: 0; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.st-fan .st-fan__ph img { display: block; width: 100%; height: auto; }

/* the app: four framed screens on a warm cream ground */
.v2 .st-app { margin-inline: 8px; border-radius: 32px; background: var(--st-cream); }
.v2 .st-app h2, .v2 .st-app .kicker { color: #2B1A0F; }
.v2 .st-app h2 em { color: var(--st-tan); }
.v2 .st-app .sub { color: rgba(43, 26, 15, .66); }
.v2 .st-phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 0; list-style: none; }
.st-ph { display: block; }
.st-ph img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 40px rgba(107, 66, 38, .28)); transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.st-phones li:hover .st-ph img { transform: translateY(-6px); }
.st-phones p { margin-top: 1rem; font-size: var(--step-small); line-height: 1.5; color: rgba(43, 26, 15, .66); }
.st-phones b { display: block; margin-bottom: .2rem; font-size: var(--step-body); font-weight: 600; color: #2B1A0F; }

/* the website: three across instead of four */
.site-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* the pitch deck: a scrolling rail of real slides */
.st-slides { display: flex; gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0 clamp(20px, 5vw, 80px) 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v2 .st-deck .st-slides { padding: 0 clamp(20px, 5vw, 80px) 12px; scroll-padding-left: clamp(20px, 5vw, 80px); }
.st-slides::-webkit-scrollbar { display: none; }
.st-slides li { flex: none; width: clamp(280px, 34vw, 520px); scroll-snap-align: start; }
.st-slides img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.st-slides p { margin-top: .9rem; font-size: var(--step-small); font-weight: 600; color: rgba(255, 255, 255, .8); }

/* the data room: six folders */
.st-room { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }
.st-room > li { position: relative; padding: clamp(20px, 2vw, 28px); padding-top: clamp(30px, 3vw, 40px); border-radius: 4px 18px 18px 18px; background: var(--st-cream); box-shadow: inset 0 0 0 1px rgba(107, 66, 38, .14); }
.st-room > li::before { content: ''; position: absolute; left: 0; top: -12px; width: 42%; height: 14px; border-radius: 8px 8px 0 0; background: #F4DDB8; box-shadow: inset 0 0 0 1px rgba(107, 66, 38, .14); }
.st-room__n { display: block; margin-bottom: .5rem; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--st-tan); }
.st-room b { display: block; font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 600; color: #2B1A0F; }
.st-room ul { display: grid; gap: .35rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.st-room ul li { padding-left: 1.4rem; font-size: var(--step-small); color: rgba(43, 26, 15, .7); background: no-repeat 0 .3em / .8rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M1 1h6l4 4v8H1z' fill='none' stroke='%2399663F' stroke-width='1.3'/%3E%3C/svg%3E"); }
.st-room-sec { padding-top: clamp(3rem, 6vw, 5rem); }

@media (max-width: 1099px) {
  .v2 .st-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .site-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-room { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
}
@media (max-width: 599px) {
  .v2 .st-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .st-slides li { width: 80vw; }
  .st-room { grid-template-columns: 1fr; }
}

/* ---- the brand: three logo routes, then the chosen one in use ---- */
.st-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.st-route { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.st-route figure { margin: 0; }
.st-route img { display: block; width: 100%; height: auto; }
.st-route__txt { padding: clamp(18px, 1.8vw, 26px); }
.st-route__n { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.st-route__n em { padding: .25rem .6rem; border-radius: 999px; background: #6B4226; color: #FDF0DA; font-style: normal; letter-spacing: .06em; }
.st-route b { display: block; font-size: clamp(1.15rem, 1.4vw, 1.35rem); font-weight: 600; color: var(--ink); }
.st-route p { margin-top: .5rem; font-size: var(--step-small); line-height: 1.55; color: var(--soft); }
.st-route:not(.is-chosen) { opacity: .78; }
.st-route:not(.is-chosen) img { filter: saturate(.55); }
.st-route.is-chosen { box-shadow: 0 0 0 2px #99663F, 0 30px 60px -36px rgba(107, 66, 38, .55); transform: translateY(-6px); }
.st-use { margin-top: clamp(2.5rem, 5vw, 4rem); }
.st-use__k { margin-bottom: 1rem; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.st-use ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin: 0; padding: 0; list-style: none; }
.st-use img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.st-use p { margin-top: .6rem; font-size: var(--step-small); font-weight: 600; color: var(--ink); }
@media (max-width: 1099px) { .st-routes { grid-template-columns: 1fr; max-width: 640px; } .st-use ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .st-route.is-chosen { transform: none; } }
@media (max-width: 599px) { .st-use ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-brand .head > div:first-child { flex: 1 1 24rem; }
.st-brand .head > .sub { flex: 0 1 34rem; }

/* ---- the founder ---- */
.st-founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.st-founder__pic { margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 1; background: #E9E4DA; box-shadow: 0 40px 80px -40px rgba(43, 26, 15, .45); }
.st-founder__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-founder__txt h2 { margin: .5rem 0 1.25rem; }
.st-founder__name { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--step-small); color: var(--soft); }
.st-founder__name b { display: block; margin-bottom: .15rem; font-size: var(--step-body); font-weight: 600; color: var(--ink); }
@media (max-width: 899px) { .st-founder { grid-template-columns: 1fr; } .st-founder__pic { max-width: 420px; } }
