/* Homepage. Builds on case-study.css: same type, colours and header. */

.home-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); min-height: calc(100svh - 76px); }
.home-hero .intro { display: flex; flex-direction: column; justify-content: center; padding: 64px var(--pad) 72px; }
.home-hero h1 { max-width: 16ch; margin-bottom: 28px; }
.home-hero .lead { max-width: 40ch; margin-bottom: 36px; }
.home-hero .actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.home-hero .actions a:not(.button) { font-weight: var(--bold); }
.hero-phones { min-width: 0; background: var(--screen); display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 28px); padding: 48px 3vw; overflow: hidden; }
.hero-phones img { width: 31%; max-width: 290px; height: auto; }
.hero-phones img:nth-child(2) { transform: translateY(-28px); }
.hero-phones img:nth-child(3) { transform: translateY(20px); }

/* Proof: four figures in a row */
.proof { padding: var(--gap) var(--pad) 0; }
.proof .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
.proof .figures b { color: var(--ink); font-size: var(--head); }

/* The live thing: what are you hiring for */
.hiring { padding: var(--gap) var(--pad) 32px; }
.hiring h2 { margin-bottom: 8px; }
.hiring p { max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { font: inherit; font-size: var(--small); font-weight: var(--bold); color: var(--ink); background: var(--screen); border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hiring .pick-note { margin-top: 20px; min-height: 1.6em; font-weight: var(--bold); }

/* Work: each project is a title slide */
.work { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 0; }
.project { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); background: var(--project); color: #fff; text-decoration: none; min-height: 78svh; transition: opacity 300ms var(--ease); }
.project:nth-child(even) .project-copy { order: 2; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) var(--pad); }
.project h3 { font-size: var(--display); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 20px; }
.project .lead { color: rgba(255, 255, 255, 0.88); max-width: 34ch; margin-bottom: 28px; }
.project .meta-line { font-size: var(--small); color: rgba(255, 255, 255, 0.84); margin-bottom: 32px; }
.project .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 14rem)); gap: 20px 32px; margin-bottom: 24px; }
.project .stats b { display: block; font-size: var(--head); line-height: 1.1; margin-bottom: 4px; }
.project .stats span { display: block; font-size: var(--small); line-height: 1.4; color: rgba(255, 255, 255, 0.88); }
.project .go { display: inline-flex; align-self: flex-start; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-size: var(--small); font-weight: var(--bold); transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.project:hover .go, .project:focus-visible .go { background: var(--dot); }
.project-pic { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 24px); padding: 48px 3vw; background: rgba(0, 0, 0, 0.12); overflow: hidden; }
.project-pic img { width: 40%; max-width: 260px; height: auto; transition: transform 300ms var(--ease); }
.project-pic img + img { transform: translateY(32px); }
.project.text-only { grid-template-columns: 1fr; min-height: 0; }
.project.text-only .project-copy { max-width: 1100px; }
.work.is-filtered .project:not(.is-match) { opacity: 0.45; }

/* More work: a plain list */
.more { padding: var(--gap) var(--pad) 0; }
.more ul { list-style: none; max-width: 980px; }
.more li a { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 18px 20px; background: var(--screen); text-decoration: none; transition: background-color 160ms var(--ease); }
.more ul { display: grid; gap: 8px; }
.more li a:hover { background: #dde3e7; }
.more li b { font-size: var(--sub); }
.more li span { color: var(--ink); }
.more li em { font-style: normal; font-size: var(--small); font-weight: var(--bold); white-space: nowrap; }
.more li a:hover b { color: var(--coral-text); }

/* About and contact */
.about-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 112px); padding: var(--gap) var(--pad); }
.about-band .letter p { max-width: 58ch; }
.ways { display: grid; gap: 28px; align-content: start; }
.ways h3 { display: flex; gap: 14px; align-items: baseline; }
.ways h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); flex: none; transform: translateY(-2px); }
.ways p { padding-left: 26px; }
.contact { background: var(--ink); color: #fff; padding: var(--gap) var(--pad); }
.contact h2 { color: #fff; font-size: var(--display); line-height: 1.05; max-width: 14ch; }
.contact p { color: rgba(255, 255, 255, 0.86); max-width: 52ch; margin-bottom: 28px; }
.contact a.mail { font-size: var(--head); font-weight: var(--bold); color: #fff; text-decoration-color: var(--dot); text-decoration-thickness: 3px; }

@media (max-width: 900px) {
  .home-hero, .project, .about-band { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; }
  .home-hero .intro { padding: 48px var(--pad) 40px; }
  .hero-phones { padding: 32px 16px; }
  .proof .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project { min-height: 0; }
  .project:nth-child(even) .project-copy { order: 0; }
  .project-pic { padding: 32px 16px; }
  .more li a { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .project .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proof .figures { gap: 24px 20px; }
}

.project-pic.quote { justify-content: flex-start; padding: clamp(48px, 6vw, 96px) var(--pad); }
.project-pic.quote p { font-size: var(--head); font-weight: var(--bold); line-height: 1.3; color: #fff; max-width: 28ch; }
@media (max-width: 520px) { .project-pic.quote p { font-size: var(--sub); } }

/* Employment, education and certifications: a plain list, like a CV */
.employment { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 112px); padding: 0 var(--pad) var(--gap); }
.jobs { list-style: none; display: grid; gap: 18px; margin-bottom: 20px; }
.jobs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
.jobs b { font-weight: var(--bold); }
.jobs .when { font-size: var(--small); color: var(--muted); text-align: right; }
.jobs li > span:last-child:not(.when) { grid-column: 1 / -1; color: var(--muted); }
.employment .sub-h { margin-top: 40px; }
@media (max-width: 900px) { .employment { grid-template-columns: 1fr; } }
.contact a.mail { overflow-wrap: anywhere; }
@media (max-width: 400px) { .contact a.mail { font-size: var(--sub); } }

/* Project names: a step down from the hero headline */
.project h3 { font-size: clamp(2.25rem, 1rem + 3vw, 3.5rem); line-height: 1.05; }

/* One employer, two roles: shown as a promotion */
.jobs li.promoted { grid-template-columns: minmax(0, 1fr) auto; }
.jobs .roles { grid-column: 1 / -1; list-style: none; display: grid; gap: 6px; margin-top: 4px; padding-left: 16px; border-left: 3px solid var(--dot); }
.jobs .roles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
.jobs .roles li > span:first-child { color: var(--muted); }

/* Tighter project blocks */
.project { min-height: 0; }
.project-copy { padding: clamp(40px, 4.5vw, 72px) var(--pad); }
.project-pic { padding: 32px 3vw; }
.project-pic img { max-width: 220px; }
.project-pic.quote { padding: clamp(40px, 4.5vw, 72px) var(--pad); }

/* Motion: hover movement only for a real mouse, press feedback everywhere */
.chip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .chip:hover { transform: translateY(-2px); }
  .chip:active { transform: translateY(0) scale(0.97); }
  .project:hover .go, .project:focus-visible .go { transform: translateX(6px); }
  .project:hover .project-pic img:first-child { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .chip:active { transform: none; } }

/* ===== October refresh: hero platforms, metrics, joined projects, capabilities, LinkedIn style roles ===== */

/* Hero: bio on the left, where I design on the right. Less empty space up top. */
.home-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); min-height: 0; align-items: stretch; }
.home-hero .intro { padding: clamp(40px, 6vw, 88px) var(--pad) clamp(40px, 5vw, 72px); }
.home-hero h1 { max-width: 12ch; }
.home-hero .lead { max-width: 44ch; margin-bottom: 32px; }
.platforms { background: transparent; display: flex; align-items: center; padding: clamp(32px, 4vw, 64px) var(--pad) clamp(32px, 4vw, 64px) 0; }
.platforms ul { list-style: none; display: grid; gap: clamp(20px, 2.4vw, 32px); }
.platforms li { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 16px; }
.platforms li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); margin-top: 0.55em; grid-row: 1 / 3; }
.platforms b { font-size: var(--sub); line-height: 1.3; }
.platforms span { color: var(--ink); margin-top: 4px; max-width: 40ch; }

/* Metrics: big number, what it means, which project */
.proof { padding: clamp(48px, 6vw, 88px) var(--pad) clamp(40px, 5vw, 72px); }
.proof h2 { margin-bottom: 28px; }
.metrics { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.metrics li { display: flex; flex-direction: column; gap: 8px; }
.metrics b { font-size: clamp(2.5rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metrics span { max-width: 30ch; line-height: 1.45; }
.metrics em { font-style: normal; font-size: var(--small); font-weight: var(--bold); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.metrics em::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }

/* Projects sit flush, one colour block straight into the next */
.work { gap: 0; padding-top: 0; }

/* How I work: short intro, then six capabilities with proof */
.about-band { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.about-intro p { max-width: 46ch; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(28px, 3vw, 48px); }
.caps h3 { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.caps h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; transform: translateY(-2px); }
.caps p { padding-left: 22px; }

/* Employment: company, role, dates stacked; one company with a progression line, like LinkedIn */
.jobs { gap: 22px; }
.jobs > li { display: flex; flex-direction: column; gap: 2px; }
.jobs > li > b { font-size: var(--body); }
.jobs .role { color: var(--ink); }
.jobs .when { font-size: var(--small); color: var(--muted); text-align: left; }
.jobs .co { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.jobs .co span { font-size: var(--small); color: var(--muted); }
.steps { list-style: none; display: grid; gap: 16px; position: relative; padding-left: 26px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: -21px; top: 21px; bottom: -21px; width: 2px; background: #cdd4d9; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.steps li::before { content: ""; position: absolute; left: -26px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #9aa3a9; border: 3px solid var(--paper); left: -28px; top: 5px; width: 16px; height: 16px; box-sizing: border-box; }
.steps li:first-child::before { background: var(--dot); }
.steps span { font-size: var(--small); color: var(--muted); }

@media (max-width: 1100px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-hero, .about-band { grid-template-columns: 1fr; }
  .platforms { padding: 32px var(--pad) 40px; }
  .caps { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .metrics { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .metrics span { font-size: var(--small); }
  .home-hero .intro { padding-top: 36px; }
}

.jobs > li > .role { color: var(--ink); grid-column: auto; }

@media (max-width: 900px) { .platforms { padding: 0 var(--pad) 40px; } }

/* Type audit: project names, big numbers and the contact line share the title step */
.project h3 { font-size: var(--title); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 14px; }
.metrics b { font-size: var(--title); line-height: 1.05; letter-spacing: -0.01em; }
.project .stats b { font-size: var(--head); }
.proof .figures b { font-size: var(--head); }
.contact h2 { font-size: var(--title); line-height: 1.15; }
.contact a.mail { font-size: var(--head); }
.home-hero h1 { max-width: 13ch; margin-bottom: 22px; }
.project-pic.quote p { font-size: var(--head); line-height: 1.35; }

/* Tighter top of page: less air, content sits closer together and reads as one block */
.home-hero { max-width: 1440px; }
.home-hero .intro { padding: clamp(36px, 4vw, 64px) var(--pad) clamp(28px, 3vw, 44px); justify-content: flex-start; }
.home-hero .lead { margin-bottom: 26px; }
.platforms { align-items: flex-start; padding: clamp(44px, 5vw, 80px) var(--pad) clamp(28px, 3vw, 44px) 0; }
.platforms ul { gap: clamp(18px, 2vw, 26px); }
.proof { padding: clamp(28px, 3vw, 44px) var(--pad) clamp(48px, 5vw, 72px); }
.proof > * { position: relative; }
.proof::before { content: ""; display: block; height: 1px; background: rgba(26, 26, 26, 0.1); margin-bottom: clamp(28px, 3vw, 44px); }
.metrics { gap: 28px clamp(24px, 3vw, 48px); }
.metrics li { padding-left: 18px; border-left: 2px solid var(--dot); }
@media (max-width: 900px) { .platforms { padding: 0 var(--pad) 32px; } }

/* Wider measures on desktop: subcopy uses the space instead of stacking into narrow columns */
.home-hero h1 { max-width: 16ch; }
.home-hero .lead { max-width: 56ch; }
.project .lead { max-width: 50ch; }
.project-copy { padding-right: clamp(24px, 4vw, 64px); }
.metrics span { max-width: 34ch; }
.about-intro p { max-width: 58ch; }

/* No coloured side stripes on the metrics: the rule above the section does the separating */
.metrics li { padding-left: 0; border-left: 0; }

/* Platforms list sits against the right margin, mirroring the bio on the left */
.platforms { justify-content: flex-end; padding-right: var(--pad); }
.platforms ul { max-width: 520px; }
@media (max-width: 900px) { .platforms { justify-content: flex-start; } }

/* Same faint rule between How I work and Employment as above the metrics */
.employment::before { content: ""; grid-column: 1 / -1; height: 1px; background: rgba(26, 26, 26, 0.1); margin-bottom: clamp(4px, 1vw, 12px); }
.about-band { padding-bottom: clamp(48px, 5vw, 72px); }

/* LinkedIn in the contact band */
.contact .elsewhere { margin-top: 28px; }
.contact a.social { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border: 2px solid rgba(255,255,255,0.4); border-radius: 999px; color: #fff; font-weight: var(--bold); text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.contact a.social:hover, .contact a.social:focus-visible { border-color: var(--dot); background: var(--dot); color: var(--ink); }
.contact a.social:active { transform: scale(0.97); }

/* Outside work: a short line and a strip of my own photos */
.outside { margin-top: 40px; }
.outside h3 { margin-bottom: 8px; }
.outside p { max-width: 46ch; }
.photo-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; max-width: 520px; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--screen); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .photo-strip img { transition: transform 220ms var(--ease); }
  .photo-strip li:nth-child(odd) img:hover { transform: translateY(-4px) rotate(-1.5deg); }
  .photo-strip li:nth-child(even) img:hover { transform: translateY(-4px) rotate(1.5deg); }
}
@media (max-width: 520px) { .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }

/* Hero runs the full width so the platforms list can sit at the right edge */
.home-hero { max-width: none; }
.platforms { justify-content: flex-end; padding-right: var(--pad); }
.platforms ul { margin-left: auto; max-width: 500px; }
@media (max-width: 900px) { .platforms ul { margin-left: 0; max-width: none; } }
/* Wider platforms list: fewer lines, less dead space in the middle */
.home-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.platforms ul { max-width: 680px; }
.platforms span { max-width: none; }
@media (max-width: 900px) { .home-hero { grid-template-columns: 1fr; } }

/* Rotating metrics: each slot cycles through results from a different area of work */
.proof-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.proof-head h2 { margin-bottom: 0; }
.metrics-toggle { font: inherit; font-size: var(--small); font-weight: var(--bold); color: var(--muted); background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.metrics-toggle:hover { color: var(--ink); }
.metrics li { display: grid; }
.metrics .m { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 8px; }
.js .metrics .m:not(.is-on) { opacity: 0; visibility: hidden; }
.js .metrics .m { transition: opacity 360ms ease, transform 420ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 420ms; }
.js .metrics .m.is-on { transition: opacity 360ms ease 120ms, transform 420ms cubic-bezier(0.23, 1, 0.32, 1) 120ms, visibility 0s; }
@media (prefers-reduced-motion: no-preference) {
  .js .metrics .m:not(.is-on) { transform: translateY(10px); }
  .js .metrics .m.is-leaving { transform: translateY(-10px); }
}
html:not(.js) .metrics .m:not(.is-on) { display: none; }

/* Problem, call, result on each project block */
.decide { display: grid; gap: 10px; margin: 4px 0 26px; max-width: 54ch; }
.decide div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; }
.decide dt { font-size: var(--small); font-weight: var(--bold); color: rgba(255, 255, 255, 0.86); padding-top: 2px; }
.decide dd { color: #fff; }
@media (max-width: 520px) { .decide div { grid-template-columns: 1fr; gap: 0; } }
.contact .elsewhere { display: flex; flex-wrap: wrap; gap: 12px; }
.work-note { padding: 0 var(--pad) 24px; max-width: calc(64ch + 2 * var(--pad)); font-size: var(--small); color: var(--muted); }

/* Day to day strip: one line under the headline numbers. The label ends in a colon and the
   tasks run on from it. Moves only with JS and without reduced motion; pauses on hover,
   focus, off screen or with the button. */
.ticker { display: flex; align-items: center; gap: 0 20px; padding: 0 var(--pad) clamp(28px, 3vw, 40px); flex-wrap: wrap; }
.ticker::before { content: ""; flex-basis: 100%; height: 1px; margin-bottom: clamp(28px, 3vw, 40px); background: rgba(26, 26, 26, 0.1); }
.ticker h2 { flex: none; margin: 0; font-size: var(--sub); line-height: 1.3; }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0; padding: 0; }
.ticker-track li { display: flex; align-items: center; font-size: var(--sub); line-height: 1.3; color: var(--ink); }
.ticker-track li::after { content: ""; flex: none; width: 7px; height: 7px; margin: 0 18px; border-radius: 50%; background: var(--dot); }
.ticker.is-moving .ticker-window { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.ticker.is-moving .ticker-track { flex-wrap: nowrap; width: max-content; animation: ticker 120s linear infinite; }
.ticker.is-moving .ticker-track li { white-space: nowrap; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track, .ticker.is-off .ticker-track { animation-play-state: paused; }
.ticker-toggle { flex: none; font: inherit; font-size: var(--small); font-weight: var(--bold); color: var(--muted); background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.ticker-toggle:hover { color: var(--ink); }
.ticker:not(.is-moving) h2 { flex-basis: 100%; margin-bottom: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .ticker h2 { flex: 1 1 0; margin-bottom: 10px; }
  .ticker-window { flex-basis: 100%; order: 3; }
  .ticker-toggle { order: 2; align-self: flex-start; }
}

.contact .ai-note { margin: 40px 0 0; font-size: var(--small); color: rgba(255, 255, 255, 0.72); max-width: 60ch; }
.ticker:not(.is-moving) .ticker-track li:last-child::after { display: none; }

/* Use the width: fewer early wraps, less dead space. Caps only, so mobile is unaffected. */
.project .lead { max-width: 62ch; }
.project .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; }
.metrics span { max-width: none; }
.hiring p { max-width: 80ch; }
.contact p { max-width: 68ch; }
.contact .ai-note { max-width: 90ch; }
.about-band .letter p, .about-intro p { max-width: none; }
.outside p { max-width: 64ch; }
.decide { max-width: 72ch; }
.work-note { max-width: calc(96ch + 2 * var(--pad)); }
.more ul { max-width: 1240px; }

/* Rotating photos: one tile changes at a time, like the metrics */
.photo-strip li { position: relative; overflow: hidden; }
.photo-strip li img + img { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity 700ms var(--ease); }
.photo-strip li img.is-in { opacity: 1; }
.photo-toggle { font: inherit; font-size: var(--small); font-weight: var(--bold); color: var(--muted); background: none; border: 0; padding: 8px 0; margin-top: 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.photo-toggle:hover { color: var(--ink); }

/* With motion off, the everyday work list stays short */
@media (prefers-reduced-motion: reduce) {
  .ticker-track li:nth-child(n+11):not(.more) { display: none; }
  .ticker-track li.more { display: flex; color: var(--muted); }
}
.ticker-track li.more { display: none; }
.ticker.is-moving .ticker-track li.more { display: none; }
