/* Studio Marlow — page composition on top of tokens.css + alder.css (tokens only, no new colours). */
main > section { margin-top: var(--section); }
main > section:first-child { margin-top: 16px; }

/* ── Selected work: three finished buildings, photographed (new, signature) ── */
.sm-works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 60px; }
.sm-works__head .sec-head { margin: 0; }
.sm-works { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 16px; }
.sm-work { display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); overflow: hidden; }
.sm-work:first-child { grid-row: span 2; }
.sm-work__photo { position: relative; flex: 1; min-height: 260px; margin: 0; overflow: hidden; }
.sm-work__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sm-work:hover .sm-work__photo img { transform: scale(1.04); }
.sm-work__tag { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 15px; font-size: 14px; font-weight: 500; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); color: var(--text); }
.sm-work__body { padding: 28px 32px 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: end; }
.sm-work__body p { margin-top: 8px; font-size: 14px; color: var(--text-2); max-width: 420px; }
.sm-work__meta { display: flex; gap: 24px; }
.sm-work__meta div { display: flex; flex-direction: column; gap: 2px; }
.sm-work__meta dt { font-size: 13px; color: var(--muted); }
.sm-work__meta dd { margin: 0; font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ── Title block: the eight stages drawn as a drawing-sheet title block (new) ── */
.sm-sheet { background: var(--surface-4); padding: 128px 0; }
.sm-sheet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: stretch; }
.sm-sheet__photo { position: relative; min-height: 560px; border-radius: var(--r); overflow: hidden; clip-path: polygon(0 0, calc(100% - 72px) 0, 100% 72px, 100% 100%, 0 100%); }
.sm-sheet__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-sheet__photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 20px; border-radius: 12px; font-size: 14px; }
.sm-sheet__photo figcaption strong { display: block; font-weight: 500; }
.sm-sheet__copy { display: flex; flex-direction: column; }
.sm-sheet__copy .sec-head { margin-bottom: 40px; }
.sm-sheet__copy .sec-head p { color: var(--text-2); }
.sm-block { border: 1px solid var(--text); border-radius: var(--r-sm); overflow: hidden; background: var(--bg); }
.sm-block__top { display: grid; grid-template-columns: 2fr 1fr 1fr; border-bottom: 1px solid var(--text); }
.sm-block__top div { padding: 12px 16px; border-right: 1px solid var(--text); display: flex; flex-direction: column; gap: 2px; }
.sm-block__top div:last-child { border-right: 0; }
.sm-block__top small, .sm-stage small { font-size: 13px; font-weight: 500; color: var(--text-2); }
.sm-block__top span { font-size: 14px; font-weight: 500; }
.sm-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm-stage { padding: 18px 16px 20px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.sm-stage:nth-child(4n) { border-right: 0; }
.sm-stage:nth-last-child(-n+4) { border-bottom: 0; }
.sm-stage small { display: flex; align-items: center; gap: 8px; }
.sm-stage small i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.sm-stage h3 { font-family: var(--font-display); font-weight: 400; font-size: 18px; line-height: 1.3; letter-spacing: -.4px; }
.sm-stage p { font-size: 13px; line-height: 1.45; color: var(--text-2); }

/* ── Recognition: awards ledger + founder note (new) ── */
.sm-awards { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; align-items: start; }
.sm-awards__side { position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; gap: 32px; }
.sm-awards__side .sec-head { margin: 0; }
.sm-founder { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--surface-2); }
.sm-founder__top { display: flex; gap: 16px; align-items: center; }
.sm-founder img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; object-position: top; }
.sm-founder strong { display: block; font-weight: 500; }
.sm-founder span { font-size: 14px; color: var(--text-2); }
.sm-founder p { font-family: var(--font-display); font-size: 18px; line-height: 1.45; letter-spacing: -.4px; }
.sm-ledger { border-top: 1px solid var(--text); }
.sm-ledger li { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 220px); gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.sm-ledger li > span { font-family: var(--mono); font-size: 12px; letter-spacing: .8px; color: var(--muted); }
.sm-ledger li > em { font-style: normal; font-size: 14px; color: var(--text-2); text-align: right; }

@media (max-width: 1100px) {
  .sm-works { grid-template-columns: 1fr 1fr; }
  .sm-work:first-child { grid-column: 1 / -1; grid-row: auto; }
  .sm-sheet__grid { grid-template-columns: 1fr; gap: 48px; }
  .sm-sheet__photo { min-height: 460px; }
  .sm-awards { grid-template-columns: 1fr; gap: 48px; }
  .sm-awards__side { position: static; }
  .sm-founder { max-width: 520px; }
}
@media (max-width: 900px) {
  .sm-sheet { padding: 96px 0; }
  .sm-works__head { flex-direction: column; align-items: flex-start; }
  .sm-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-stage:nth-child(4n) { border-right: 1px solid var(--line-2); }
  .sm-stage:nth-child(2n) { border-right: 0; }
  .sm-stage:nth-last-child(-n+4) { border-bottom: 1px solid var(--line-2); }
  .sm-stage:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 700px) {
  .sm-works { grid-template-columns: 1fr; }
  .sm-work__body { grid-template-columns: 1fr; padding: 24px 20px; }
  .sm-work__photo { min-height: 240px; }
  .sm-block__top { grid-template-columns: 1fr 1fr; }
  .sm-block__top div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--text); }
  .sm-ledger li { grid-template-columns: 56px minmax(0, 1fr); gap: 6px 16px; }
  .sm-ledger li > em { grid-column: 2; text-align: left; }
  .sm-sheet__photo { min-height: 380px; clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%); }
}



/* the ink numbers band follows the beige band directly: no paper strip between two bands */
.sm-sheet + .v-proof-m { margin-top: 0; }
/* split rhythm: flip the services bento so its photo sits right (work is image-left, process sheet is image-left) */
@media (min-width: 1101px) { #services .v-bento__ink { order: -1; } }
