/* Design study v12 (hero video and last image full bleed, capped at 90vh, cover), home page. White page, black text, one size; the photos supply the greys.
   Hierarchy from space, position and columns only. Hover/current = inverted. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #fff; color: #000; }
body {
  font: 400 14px/20px Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  --pad: 40px;
  --gap: 20px;
  --step: 100px;
}
::selection { background: #000; color: #fff; }
a { color: #000; text-decoration: none; }
a:hover, a:focus-visible { background: #000; color: #fff; outline: 0; }
img { display: block; width: 100%; height: auto; }
ol, ul { list-style: none; }

/* 12 columns inside the page padding; one text edge at column 4 */
.wrap { padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }

header { display: flex; justify-content: space-between; align-items: baseline; padding: 20px var(--pad); }
header nav { display: flex; gap: 20px; }

/* text: one column from the left margin, like the honestwork intro */
.col { max-width: 600px; }
.col p + p { margin-top: 20px; }
.opening { margin-top: 120px; }
.hero { margin-top: 80px; }
.hero video { display: block; width: 100%; height: auto; aspect-ratio: 2400 / 1670; object-fit: cover; background: #fff; }

section { margin-top: var(--step); }
#about { margin-top: 60px; }

/* label / value rows: narrow label, value right next to it, wrapping inside the column */
.rows { display: grid; grid-template-columns: 110px 1fr; }
.facts { margin-top: 20px; }
.rows.steps { grid-template-columns: 24px 1fr; }
.buy { margin-top: 20px; }

.offer li { grid-column: span 4; }
.offer img { margin-bottom: 20px; }

.hundred p { margin-top: 20px; }

footer { margin-top: 140px; padding: 20px var(--pad) 40px; display: flex; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }

/* v12: hero and last image full bleed, never taller than 90vh; cover crops top and bottom */
.hero video { max-height: 90vh; object-position: 50% 50%; }
.hundred img { aspect-ratio: 3096 / 2160; max-height: 90vh; object-fit: cover; object-position: 50% 50%; }

@media (max-width: 720px) {
  body { --pad: 20px; --step: 66px; }
  header { flex-direction: column; }
  .opening { margin-top: 80px; }
  .hero { margin-top: 60px; }
  .hero video { aspect-ratio: 1 / 1; }
  #about { margin-top: 40px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .rows { grid-template-columns: 80px 1fr; }
  .rows.steps { grid-template-columns: 24px 1fr; }
  .offer { row-gap: 40px; }
  .offer li { grid-column: 1 / 5; }
  footer { margin-top: 80px; flex-direction: column; gap: 20px; }
  footer nav { flex-wrap: wrap; }
}

/* more room between the paragraph and the facts (2026-11-23) */
.facts { margin-top: 40px; }

/* opening line optically centred between the title and the video: a little more room below than above (2026-11-23) */
.hero { margin-top: 150px; }
@media (max-width: 720px) { .hero { margin-top: 100px; } }

/* about page: boards on top, pictures two by two with a caption (2026-11-23) */
.hundred.top { margin-top: 80px; }
.pics { row-gap: 60px; }
.pics li { grid-column: span 6; list-style: none; }
.pics img { margin-bottom: 20px; aspect-ratio: 3096 / 2160; object-fit: cover; }
@media (max-width: 720px) { .hundred.top { margin-top: 60px; } .pics li { grid-column: 1 / -1; } .pics { row-gap: 40px; } }

/* about page, two columns: text left, the boards right; pictures without captions (2026-11-23) */
#about.two { margin-top: 120px; align-items: start; }
#about.two .col { grid-column: 1 / 7; }
#about.two .side { grid-column: 7 / 13; }
#about.two .side img { aspect-ratio: 3096 / 2160; object-fit: cover; }
.pics img { margin-bottom: 0; }
.pics { row-gap: var(--gap); }
@media (max-width: 720px) { #about.two { margin-top: 60px; } #about.two .col, #about.two .side { grid-column: 1 / -1; } #about.two .side { margin-top: 40px; } }

/* about: one right-hand column of pictures; the text stays in view beside them (2026-11-23) */
#about.two .side img + img { margin-top: var(--gap); }
#about.two .col { position: sticky; top: 40px; }
@media (max-width: 720px) { #about.two .col { position: static; } }

/* about, option 3: field still beside the text, the other pictures below, one per row, full width, max 90vh (2026-11-23) */
#about.two .col { position: static; }
.seq { margin-top: var(--step); }
.seq img { width: 100%; aspect-ratio: 3096 / 2160; max-height: 90vh; object-fit: cover; }
.seq img + img { margin-top: var(--gap); }

/* about: the pictures continue the right-hand column under the field still, not full width (2026-11-23) */
.seq { margin-top: var(--gap); }
.seq .seqcol { grid-column: 7 / 13; }
.seq img { max-height: none; }
@media (max-width: 720px) { .seq .seqcol { grid-column: 1 / -1; } }

/* the 1/1: a row of its own under the edition, larger tile (2026-11-23) */
#unique { margin-top: 80px; }
.offer.unique li { grid-column: 1 / 9; }
.offer.unique img { aspect-ratio: 3096 / 2160; object-fit: cover; }
@media (max-width: 720px) { #unique { margin-top: 60px; } .offer.unique li { grid-column: 1 / -1; } }

/* teaser: one page, email sign-up (2026-11-24) */
#signup { margin-top: 40px; }
.signup { display: flex; gap: 20px; align-items: baseline; }
.signup input { font: inherit; color: #000; background: #fff; border: 0; border-radius: 0; padding: 0; outline: 0; width: 260px; -webkit-appearance: none; appearance: none; }
.signup input::placeholder { color: #000; opacity: 1; }
.signup input:focus { background: #000; color: #fff; }
.signup input:focus::placeholder { color: #fff; }
.signup button { font: inherit; color: #000; background: #fff; border: 0; padding: 0; cursor: pointer; }
.signup button:hover, .signup button:focus-visible { background: #000; color: #fff; outline: 0; }
#work { margin-top: var(--step); }
#work.two { align-items: start; }
#work.two .col { grid-column: 1 / 7; }
#work.two .side { grid-column: 7 / 13; }
#work.two .side img { aspect-ratio: 3096 / 2160; object-fit: cover; }
.signup input { width: 12em; }
@media (max-width: 720px) { #work.two .col, #work.two .side { grid-column: 1 / -1; } #work.two .side { margin-top: 40px; } }
footer > span:first-child { max-width: 600px; }
footer { gap: 40px; align-items: flex-start; }

/* product tiles: front, and the back on hover (2026-11-24) */
.flip { position: relative; display: block; margin-bottom: 20px; }
.flip img { margin-bottom: 0; aspect-ratio: 4 / 5; object-fit: cover; }
.flip .back { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.flip:hover .back { opacity: 1; }
.flip.wide img { aspect-ratio: 3096 / 2160; }

/* 1/1 tile: the field shader running live (2026-11-24) */
.live { display: block; margin-bottom: 20px; aspect-ratio: 3096 / 2160; }
.live iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; background: #fff; }

/* gallery version: four equal cards, the 1/1 as the fourth (2026-11-24) */
.offer.four li { grid-column: span 3; }
@media (max-width: 720px) { .offer.four li { grid-column: span 2; } }

/* gallery version: more room before the text; the two pictures side by side (2026-11-24) */
body.v12 #work { margin-top: 180px; }
.seq.pair .seqcol { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.seq.pair .seqcol img + img { margin-top: 0; }
@media (max-width: 720px) { body.v12 #work { margin-top: 100px; } .seq.pair .seqcol { grid-template-columns: 1fr; row-gap: var(--gap); } }
.seq.pair { margin-top: 120px; }
@media (max-width: 720px) { .seq.pair { margin-top: 60px; } }
body.v12 #pre-sale { margin-top: 120px; }
@media (max-width: 720px) { body.v12 #pre-sale { margin-top: 60px; } }
.seq.pair { margin-top: 180px; }
@media (max-width: 720px) { .seq.pair { margin-top: 100px; } }
body.v12 #about { margin-top: 120px; }
@media (max-width: 720px) { body.v12 #about { margin-top: 60px; } }
footer { align-items: flex-end; }

/* two works on the home page, detail pages (2026-11-25) */
.offer.two-works li { grid-column: span 6; }
.offer.two-works .tile { display: block; }
.offer.two-works .tile:hover { background: none; }
.detail { margin-top: 120px; align-items: start; }
.detail .col { grid-column: 1 / 6; }
.detail .col p + p, .detail .col p + ul { margin-top: 20px; }
.detail .facts { margin-top: 40px; }
.detail .side { grid-column: 7 / 13; }
.offer.three li { grid-column: span 4; }
#options { margin-top: 180px; }
@media (max-width: 720px) {
  .offer.two-works li, .offer.three li { grid-column: 1 / -1; }
  .detail { margin-top: 60px; } .detail .col, .detail .side { grid-column: 1 / -1; } .detail .side { margin-top: 40px; }
  #options { margin-top: 100px; }
}
