/* Homepage: photo-led opening, the Cohort Wall, then field photography at its
   natural proportion. Shared brand layer lives in site.css (V3). */
.wall-section { padding-bottom: clamp(72px, 8vw, 112px); }

/* Purpose: the farm-shelter photograph uncropped beside one headline. */
.home-purpose-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.purpose-photograph { position: relative; isolation: isolate; min-width: 0; }
.purpose-photograph::before { content: ""; position: absolute; left: -12px; top: -12px; width: 38%; height: 46%; z-index: -1; background: var(--grad); }
.purpose-photograph img { width: 100%; height: auto; }
.purpose-photograph figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.purpose-copy { display: grid; gap: 24px; justify-items: start; }
.purpose-copy .eyebrow { color: var(--muted); }
.purpose-copy h2 { font-size: clamp(42px, 5vw, 76px); line-height: 0.98; }
.purpose-copy > p { font-size: 16px; line-height: 1.6; max-width: 44ch; }

/* From field to pitch: four stories, each photo at its natural proportion,
   with the logo gradient filling as the cohort moves through them. */
.field-strip { padding-top: 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.strip-item { min-width: 0; }
.strip-item figure { display: grid; gap: 16px; }
.strip-photo { position: relative; overflow: hidden; background: var(--soft); }
.strip-photo::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 5px; background: rgba(255, 255, 255, 0.35); }
.strip-photo::after { content: ""; position: absolute; inset: 0 auto auto 0; z-index: 2; width: var(--progress); height: 5px; background: var(--grad); }
.strip-photo img { width: 100%; height: auto; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.strip-item:hover .strip-photo img { transform: scale(1.04); }
.strip-item figcaption { display: grid; gap: 10px; }
.strip-item .eyebrow { color: var(--blue); }
.strip-item h3 { font-size: clamp(21px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -0.04em; }
.strip-item figcaption p { font-size: 14px; line-height: 1.55; }

/* Journal, with the programme timeline as one compact row. */
.home-journal .progress-ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; padding: 0; margin-bottom: 44px; border-top: 1px solid var(--ink); }
.home-journal .progress-ledger > div { grid-template-columns: 12px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; }
.home-journal .progress-ledger > p { grid-column: 1 / -1; margin-top: 14px; }

/* People: the cohort photograph edge to edge, at its natural proportion. */
.home-page .people-section { background: var(--soft); color: var(--ink); padding-block: clamp(72px, 8vw, 112px) 0; }
.home-page .people-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 10%; align-items: end; }
.home-page .people-heading .eyebrow { margin-bottom: 22px; color: var(--muted); }
.home-page .people-heading h2 { font-size: clamp(44px, 5.4vw, 84px); line-height: 0.96; }
.home-page .people-copy { display: grid; gap: 18px; justify-items: start; }
.home-page .people-copy > p { font-size: 15px; max-width: 44ch; margin: 0; }
.home-page .people-copy .text-link { color: var(--ink); border-color: var(--ink); }
.home-page .cohort-figure { margin: clamp(40px, 5vw, 64px) 0 0; }
.home-page .cohort-figure > a { border: 0; }
.home-page .cohort-figure figcaption { margin-top: 0; padding-block: 16px 22px; border-top: 0; color: var(--muted); text-transform: uppercase; }

.snapshot-grid { display: grid; grid-template-columns: 1.85fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.snapshot-desktops { display: grid; gap: 48px; min-width: 0; }
.browser-frame { display: block; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--soft); box-shadow: 0 12px 36px #0d16290a; }
.browser-frame img { display: block; width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: var(--muted); font-size: 9px; letter-spacing: .07em; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 6px; height: 6px; border: 1px solid var(--muted); border-radius: 50%; }
.snapshot-card figcaption { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 20px; }
.snapshot-card h3 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 8px; }
.snapshot-card p { font-size: 13px; color: var(--muted); }
.snapshot-card .text-link { font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.snapshot-card .text-link .arrow { width: 17px; height: 17px; }
.phone-stage { background: var(--soft); display: flex; flex-direction: column; align-items: center; padding: 30px 22px; gap: 24px; }
.phone-stage > .eyebrow { color: var(--muted); font-size: 10px; text-align: center; }
.phone-stage .meta { font-size: 9px; text-align: center; }
.phone-frame { display: block; max-width: 250px; width: 100%; border: 7px solid #14243b; padding-top: 14px; background: #14243b; border-radius: 28px; overflow: hidden; position: relative; box-shadow: 0 16px 30px #0d162918; }
.phone-speaker { position: absolute; top: 1px; left: 40%; width: 20%; height: 4px; border-radius: 8px; background: #708298; }
.phone-frame img { width: 100%; height: auto; border-radius: 2px 2px 20px 20px; }
.snapshot-mobile figcaption { padding: 30px 0 0; }
.snapshot-mobile figcaption > .eyebrow { color: var(--muted); margin-bottom: 16px; }
.snapshot-mobile h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 20px; }
.snapshot-mobile figcaption p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.snapshot-note { display: flex; gap: 12px; align-items: baseline; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 38px; max-width: none; }
.home-journal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.home-journal-card { min-width: 0; }
.home-journal-card .journal-media { aspect-ratio: 4 / 3; }
.home-journal-card .journal-media img { object-position: center; }
.home-journal-card .story-meta { flex-wrap: wrap; gap: 6px 12px; font-size: 10px; }
.home-journal-card .story-title { gap: 16px; }
.home-journal-card h3 { font-size: clamp(23px, 2.3vw, 32px); }
.home-journal-card .story-title .arrow { flex-shrink: 0; width: 20px; height: 20px; }
.home-journal-card > p { font-size: 14px; color: var(--muted); }
.home-journal-card:hover .story-title .arrow { transform: translate(2px, -2px); }
.home-journal-card .journal-date-art > span:first-child { font-size: clamp(60px, 7vw, 100px); }
@media (max-width: 900px) {
  .snapshot-grid { grid-template-columns: 1.6fr 1fr; gap: 28px; }
  .snapshot-card figcaption { flex-direction: column; gap: 12px; }
  .phone-stage { padding: 24px 16px; }
  .home-journal-cards { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .home-journal-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-content: start; }
  .home-journal-card:last-child .journal-media { grid-row: 1 / 4; }
  .home-journal-card:last-child .story-meta { margin-top: 0; }
}
@media (max-width: 700px) {
  .snapshot-grid { grid-template-columns: 1fr; gap: 38px; }
  .snapshot-desktops { gap: 36px; }
  .snapshot-card figcaption { flex-direction: row; align-items: start; gap: 16px; }
  .snapshot-card .text-link { font-size: 10px; gap: 5px; }
  .snapshot-card h3 { font-size: 20px; }
  .snapshot-card p { font-size: 12px; }
  .browser-bar { padding: 10px 12px; font-size: 8px; gap: 8px; }
  .browser-dots { gap: 4px; }
  .browser-dots i { width: 5px; height: 5px; }
  .phone-stage { padding: 30px; gap: 25px; }
  .phone-frame { max-width: 250px; }
  .snapshot-mobile figcaption { max-width: 42ch; }
  .snapshot-mobile h3 { font-size: 36px; }
  .home-journal-cards { grid-template-columns: 1fr; gap: 40px; }
  .home-journal-card:last-child { display: block; }
  .home-journal-card:last-child .story-meta { margin-top: 22px; }
  .home-journal-card h3 { font-size: 28px; }
  .home-journal-card .story-meta { font-size: 10px; }
  .home-journal-card .journal-date-art > span:first-child { font-size: 90px; }
}
@media (max-width: 1100px) {
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 900px) {
  .home-journal .progress-ledger { grid-template-columns: 1fr; }
  .home-page .people-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .home-purpose-layout { grid-template-columns: 1fr; }
  .purpose-photograph::before { left: -8px; top: -8px; }
}
@media (max-width: 560px) {
  .strip-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .strip-photo img { transition: none; } }
