/* Our work (27 Nov 2026, option C). The Work page: client websites first on the dark green, one large row each,
   then concepts two by two on the cream. The home page: the three client sites only, short, on its own cream
   (our words: "I want the section to stay cream"). Sources and reasons are in ../work-sources.md. */

/* ---------- a project's picture: the laptop view with the phone view standing off its lower right ---------- */
.w-shot { position: relative; display: block; padding: 0 11% 8% 0; }
.w-shot > * { display: block; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.w-shot .s-lap { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 6px; box-shadow: 0 12px 28px rgba(29, 59, 54, .2); }
.w-shot .s-ph { position: absolute; right: 0; bottom: 0; width: 19%; height: auto; aspect-ratio: 390 / 720; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
a:hover > .w-shot .s-lap, a:focus-visible > .w-shot .s-lap { transform: scale(1.01); }

.wc ul, .wo ul, .hw-list { list-style: none; margin: 0; padding: 0; }
.wc a, .wo a, .hw-list a { color: inherit; text-decoration: none; }
html body :is(.wc, .wo) :is(h2, h3, p, blockquote) { text-align: left; text-transform: none; }
html body :is(.wc, .wo) h2 { margin: 0; font: 300 44px/1.05 var(--ui); letter-spacing: -.02em; color: inherit; }
html body :is(.wc, .wo) h3 { margin: 0; font: 300 30px/1.15 var(--ui); letter-spacing: -.01em; color: inherit; }
html body :is(.wc, .wo) .what { max-width: none; margin: 8px 0 0; font: 400 17px/1.4 var(--ui); color: inherit; }
.w-more { display: inline-block; margin-top: 22px; font: 500 15px/1 var(--ui); text-decoration: underline; text-underline-offset: 5px; }
a:hover .w-more { text-decoration-thickness: 2px; }
.w-wrap { max-width: 1260px; margin: 0 auto; }

/* ---------- client websites ---------- */
.wc { padding: 88px 120px 104px; background: #1d3b36; color: #fcf3ed; }
.wc a:focus-visible { outline: 2px solid #fcf3ed; outline-offset: 8px; }
html body .wc h2 { margin-bottom: 48px; }
.wc li + li { margin-top: 80px; }
.wc li > a { display: grid; grid-template-columns: 1.75fr 1fr; gap: 64px; align-items: center; }
.wc li:nth-child(even) > a { grid-template-columns: 1fr 1.75fr; }
.wc li:nth-child(even) .w-shot { order: 2; }
.wc .w-txt { display: block; }
.wc .w-shot .s-lap { aspect-ratio: 2.08 / 1; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }   /* the top of each site, nothing of what's below it */
html body .wc .w-meta { margin: 6px 0 0; font: 400 14px/1.4 var(--ui); color: rgba(252, 243, 237, .78); }
html body .wc blockquote { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(252, 243, 237, .28); font: 300 19px/1.4 var(--ui); }
.wc blockquote cite { display: block; margin-top: 8px; font: 400 13px/1.4 var(--ui); font-style: normal; color: rgba(252, 243, 237, .78); }

/* ---------- concepts ---------- */
.wo { padding: 88px 120px 104px; color: #1d3b36; }
.wo .w-wrap { max-width: 1080px; }
html body .wo h2 { margin-bottom: 12px; }
html body .wo .w-lead { margin: 0 0 44px; font: 400 17px/1.4 var(--ui); }
.wo ul { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 56px; }
.wo li > a, .wo li > div { display: block; }
html body .wo h3 { margin-top: 18px; font-size: 24px; }
.wo .w-more { margin-top: 14px; }

/* ---------- the home page: three client sites and one button, on the section's cream ---------- */
html body .wk .wk-intro { padding: 88px 24px 48px; }
.hw-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.hw-list a { display: block; text-align: center; }
.hw-list .w-shot { padding: 0 9% 9% 0; }
.hw-list .s-lap { aspect-ratio: 2.08 / 1; }
.hw-list .s-ph { width: 20%; }
html body .wk .hw-list h3 { margin: 20px 0 0; font: 300 22px/1.2 var(--ui); letter-spacing: -.01em; text-transform: none; }
html body .wk .hw-list p { margin: 6px 0 0; font: 400 15px/1.35 var(--ui); }
.hw-list a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.hw-end { margin: 48px 0 0; padding: 0 20px; text-align: center; }
html body .wk .hw-also { margin: 12px 0 0; font: 400 14px/1.3 var(--ui); text-align: center; }
html body .wk { padding-bottom: 72px; }

@media (max-width: 1100px) {
  .wc, .wo { padding: 72px 40px 80px; }
  .wc .w-wrap { max-width: 640px; }
  .wc li > a, .wc li:nth-child(even) > a { display: block; }
  .wc .w-txt { margin-top: 24px; }
  .wc li + li { margin-top: 68px; }
  .wo ul { gap: 52px 32px; }
  .hw-list { gap: 28px; padding: 0 32px; }
}
@media (max-width: 760px) {
  .wc, .wo { padding: 48px 18px 56px; }
  html body :is(.wc, .wo) h2 { font-size: 30px; }
  html body .wc h2 { margin-bottom: 28px; }
  html body .wo h2 { margin-bottom: 8px; }
  html body .wo .w-lead { margin-bottom: 28px; font-size: 15px; }
  .wo ul { grid-template-columns: 1fr; gap: 48px; }
  .wc li + li { margin-top: 52px; }
  .wc .w-txt { margin-top: 20px; }
  .w-shot { padding: 0 8% 13% 0; }
  .w-shot .s-ph { width: 24%; }
  html body :is(.wc, .wo) h3 { font-size: 25px; }
  html body :is(.wc, .wo) .what { font-size: 16px; }
  html body .wc blockquote { margin-top: 18px; padding-top: 16px; font-size: 17px; }
  html body .wk .wk-intro { padding: 48px 20px 28px; }
  .hw-list { grid-template-columns: 1fr; gap: 32px; max-width: 356px; padding: 0 18px; }
  html body .wk .hw-list h3 { margin-top: 12px; font-size: 20px; }
  html body .wk .hw-list p { font-size: 14px; }
  .hw-end { margin-top: 36px; }
  html body .wk { padding-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) { .w-shot > * { transition: none; } }
