/* Version 2: the same site, wider and bolder on desktop. Loaded after site.css and only overrides it.
   Phones stay close to version 1; the changes grow from 768px and are biggest from 992px.
   Same palette (Fern), same breakpoints, same 8px grid and motion rules as version 1.
   The one bold move: large, narrow, heavy headlines and results (Bricolage Grotesque at 75% width). */

.v2 { --wrap: 1440px; }

/* Labels in sentence case in the body face, not small capitals in a monospace face. */
.v2 .eyebrow, .v2 .tags li, .v2 .ledger small, .v2 .sheet dt, .v2 th, .v2 .pill,
.v2 .pager small, .v2 .proof small, .v2 .facts dt, .v2 .quotes footer, .v2 .edge-scale li > span:last-child, .v2 .v {
  font-family: var(--body); text-transform: none; letter-spacing: 0;
}
.v2 .eyebrow { font-size: 0.93rem; font-weight: 600; }
.v2 .tags li { font-size: 0.8rem; }
.v2 .ledger small, .v2 .pager small, .v2 .proof small { font-size: 0.82rem; }
.v2 .sheet dt, .v2 .facts dt, .v2 th { font-size: 0.85rem; font-weight: 600; }
.v2 .pill { font-size: 0.75rem; font-weight: 600; padding: 1px 10px; }
.v2 .v { font-size: 0.85rem; font-weight: 600; }

/* Large type: narrow and heavy, so it can be big without running long. */
.v2 h1, .v2 .head2 h2, .v2 .band h2 {
  font-stretch: 75%; font-weight: 800; letter-spacing: -0.015em;
}

/* ---------- home: hero ---------- */
.hero2 { display: grid; gap: 24px; padding-block: 48px 64px; }
.hero2-text { display: grid; gap: 24px; align-content: end; }
/* Name first and clearly, then the role (AL, 4 Dec 2026: the name was too small up in the header). */
.hero2 .who { display: grid; gap: 4px; }
.hero2 .name { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.1; color: var(--ink); }
.hero2 .role { font-weight: 600; color: var(--accent); }
.hero2 .proof { margin-top: 8px; }
.hero2 h1 { font-size: clamp(3rem, 13vw, 8.5rem); line-height: 0.9; }
.hero2 .dot { color: var(--accent); }
.hero2-photo { display: none; }

/* ---------- home: work and about ---------- */
.work2, .about2 { display: grid; gap: 32px; padding-block: 56px; border-top: 1px solid var(--line); }
.head2 { display: grid; gap: 12px; }
.head2 h2 { font-size: clamp(2.25rem, 7vw, 4.5rem); line-height: 0.95; }

/* Each case study leads with its result, large, beside a big image. */
.spreads { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.spread { position: relative; display: grid; gap: 24px; }
.spread-media { aspect-ratio: 3 / 2; background: var(--slate); border-radius: 20px; overflow: hidden; }
.spread-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 280ms var(--ease); }
.spread-media.phone-shot { display: grid; place-items: start center; padding-top: 32px; }
.spread-media.phone-shot img { width: 46%; height: auto; border-radius: 20px 20px 0 0; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }
.spread-body { display: grid; gap: 12px; align-content: center; }
.spread .org { color: var(--muted); font-weight: 600; font-size: 0.93rem; }
.spread h3 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.spread h3 a { color: var(--ink); text-decoration: none; }
.spread h3 a::after { content: ""; position: absolute; inset: 0; }   /* the whole spread is the link */
.spread .summary { color: var(--muted); }
.spread .read { justify-self: start; margin-top: 8px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.spread:hover .spread-media img { transform: scale(1.02); }
.spread:hover .read { text-decoration-thickness: 2px; }

.about2 .lede { font-size: 1.2rem; line-height: 1.5; }
/* A small photo above the About heading (AL, 4 Dec 2026). */
.about2 .about-photo { width: 96px; height: 96px; border-radius: 20px; margin-bottom: 8px; }
.about2 .cv { justify-self: start; margin-top: 8px; }
/* Skills: one card per area with a plain list (AL, 4 Dec 2026: a list, not tags). */
.skills { display: grid; gap: 16px; }
.skill { display: grid; gap: 12px; align-content: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.skill h3 { font-size: 1.1rem; }
.skill ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.95rem; color: var(--muted); }
@media (min-width: 576px) { .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about2-text { display: grid; gap: 16px; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 66ch; }
.results li { padding-left: 16px; border-left: 3px solid var(--accent); }

/* ---------- contact band: the reverse colours, full width ---------- */
.band { background: var(--ink); color: var(--bg); padding-block: 64px; }
.band .wrap { display: grid; gap: 24px; }
.band h2 { font-size: clamp(2.5rem, 9vw, 5.5rem); line-height: 0.92; max-width: 12ch; }
.band-side { display: grid; gap: 24px; align-content: end; }
.band p { font-size: 1.1rem; }
.band .btn-primary { background: var(--bg); color: var(--ink); }
.band .btn-primary:hover { background: color-mix(in srgb, var(--bg) 86%, var(--ink)); }
.band .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 45%, var(--ink)); }
.band .btn-ghost:hover { border-color: var(--bg); }
.band :focus-visible { outline-color: var(--bg); }

/* ---------- contact and 404 ---------- */
.contact2 { display: grid; gap: 24px; padding-block: 56px 72px; }
.contact2 h1 { font-size: clamp(3.5rem, 16vw, 9rem); line-height: 0.88; }
.contact2-side { display: grid; gap: 24px; align-content: end; }

/* ---------- case study ---------- */
.case2 .head .eyebrow, .case2 .sec-head .eyebrow { color: var(--accent); }
.case2 .head h1 { font-size: clamp(2.5rem, 9vw, 5.75rem); line-height: 0.95; max-width: 17ch; }
.case2 .head .stand { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 58ch; }
.case2 section { display: grid; gap: 16px; }
.case2 .sec-head { display: grid; gap: 8px; align-content: start; }
.case2 .sec-body { display: grid; gap: 16px; min-width: 0; }
.case2 .pager b { font-size: 1.25rem; }
.case2 .pager a { display: flex; align-items: center; gap: 16px; padding: 24px; }
.case2 .pager .next { justify-content: flex-end; }
.case2 .pager-text { display: grid; gap: 4px; min-width: 0; }
.case2 .pager .arrow { flex: none; width: 32px; height: 32px; color: var(--accent); transition: transform 200ms var(--ease); }
.case2 .pager .prev:hover .arrow { transform: translateX(-4px); }
.case2 .pager .next:hover .arrow { transform: translateX(4px); }
/* "All work": a small outlined button at the top of the head, sized to its text. */
.case2 .back {
  justify-self: start; margin-bottom: 8px; padding: 0 16px 0 12px; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink);
  transition: border-color 160ms var(--ease), transform 120ms var(--ease);
}
.case2 .back:hover { border-color: var(--ink); }
.case2 .back:active { transform: scale(0.98); }

@media (min-width: 768px) {
  .hero2 { padding-block: 80px 96px; }
  .work2, .about2 { padding-block: 80px; gap: 48px; }
  .spreads { gap: 80px; }
  .band { padding-block: 96px; }
  .contact2 { padding-block: 96px 120px; }
  .case2 .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  /* A subheading after content, and a block of images or figures, get extra room;
     a caption stays tight to the block it describes. */
  .case2 .sec-body > :not(h2) + :is(h2, h3) { margin-top: 24px; }
  .case2 .sec-body > :is(.shots, figure, .ledger, .bars, .scroll, .edge-scale, .quotes) { margin-block: 8px; }
  .case2 .sec-body > :is(.shots, figure, .ledger, .bars, .scroll, .edge-scale, .quotes):is(:first-child) { margin-top: 0; }
  .case2 .sec-body > :is(.shots, figure, .ledger, .bars, .scroll, .edge-scale, .quotes):is(:last-child, :has(+ .cap)) { margin-bottom: 0; }
}

@media (min-width: 992px) {
  .v2 .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }

  .hero2 { grid-template-columns: minmax(0, 1fr) clamp(300px, 30vw, 440px); gap: 48px 64px; align-items: end; padding-block: 96px 120px; }
  .hero2 h1 { font-size: clamp(5rem, 10vw, 10rem); }
  .hero2 .stand { font-size: 1.35rem; }
  .hero2 .proof { grid-column: 1 / -1; margin-top: 0; }
  .hero2 .proof b { font-size: 2.5rem; }
  .hero2 .proof a { padding: 24px 28px; }
  .hero2-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 30%; border-radius: 24px; background: var(--slate); }

  .work2, .about2 { padding-block: 120px; gap: 64px; }
  .spreads { gap: 120px; }
  .spread { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .spread.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .spread.flip .spread-media { order: 2; }
  .spread-media.phone-shot { padding-top: 48px; }
  .spread-media.phone-shot img { width: 40%; }

  /* About: photo, heading and CV button beside the text; skills in a row of four below. */
  .about2 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; row-gap: 64px; }
  .about2 .head2 { align-self: start; position: sticky; top: 96px; }
  .about2 .lede { font-size: 1.4rem; }
  .skills { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .skill { padding: 24px; }
  .about2 .about-photo { width: 160px; height: 160px; border-radius: 24px; }
  .skill ul.two { display: block; columns: 2; column-gap: 16px; }
  .skill ul.two li { margin-bottom: 4px; break-inside: avoid; }

  .band { padding-block: 120px; }
  .band .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
  .band h2 { font-size: clamp(4rem, 6.4vw, 6rem); }

  .contact2 { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: end; padding-block: 120px 160px; }

  /* Case study: the section heading sits in a left column and stays in view while its section scrolls. */
  .case2 .head { gap: 24px; }
  .case2 .sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
  .case2 section { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 64px; }
  .case2 .sec-head { position: sticky; top: 96px; align-self: start; }
  .case2 .sec-head h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
  .case2 .sec-body > :not(h2) + :is(h2, h3) { margin-top: 32px; }
  .case2 .sec-body > :is(.shots, figure, .ledger, .bars, .scroll, .edge-scale, .quotes) { margin-block: 16px; }
  .case2 .sec-body > :is(.shots, figure, .ledger, .bars, .scroll, .edge-scale, .quotes):first-child { margin-top: 0; }
  .case2 .sec-body > :is(.shots, figure, .ledger, .bars, .scroll, .edge-scale, .quotes):is(:last-child, :has(+ .cap)) { margin-bottom: 0; }
  .v2 figure.phone img, .v2 figure.phone .zoom { max-width: 300px; }
  /* Previous and next: narrower, pushed to the two edges, with room above (AL, 4 Dec 2026). */
  .case2 .pager { display: flex; justify-content: space-between; gap: 32px; margin-top: 32px; padding-top: 48px; }
  .case2 .pager a { flex: 0 1 440px; padding: 36px 40px; gap: 24px; }
  .case2 .pager .arrow { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .spread:hover .spread-media img { transform: none; }
}
