/* The fund's investments page. Layout only; colour, type and spacing come from tokens.css. */
.hindle-fund { padding-top: clamp(16px, 4vh, 48px); }
/* A quiet opening: the sleeping fawn, then centred copy with generous room around both. */
.hindle-fund-opening { display: grid; justify-items: center; padding-top: clamp(24px, 6vh, 72px); text-align: center; }
/* The sleeping fawn: a themed still for everyone, drawn on the exact page surface; with
   JavaScript a canvas of the same dots gathers over it and the still fades beneath. */
.hindle-fund-fawn { position: relative; width: min(380px, 72vw); aspect-ratio: 1160 / 748; margin-bottom: 40px; }
/* One <picture> chooses the theme's still, so only that image downloads. */
.hindle-fund-fawn-picture { display: contents; }
.hindle-fund-fawn-picture > source { display: none; }
.hindle-fund-fawn-still { position: absolute; inset: 0; display: block; width: 100%; height: auto; transition: opacity 900ms ease; }
/* With scripting the still waits unseen so the fawn is first seen forming from its dots; it
   returns for reduced motion and whenever the canvas cannot run (data-fawn-fallback). */
html[data-js] .hindle-fund-fawn:not([data-fawn-fallback]) .hindle-fund-fawn-still { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html[data-js] .hindle-fund-fawn .hindle-fund-fawn-still { opacity: 1; } }
/* The canvas overhangs the still so motes can drift around the fawn, not just over it. */
.hindle-fund-fawn-canvas { position: absolute; top: 0; left: 0; display: block; touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) { .hindle-fund-fawn-still { transition: none; } }
.hindle-fund-copy { max-width: 600px; }
.hindle-fund-copy h1 { margin-top: var(--hindle-heading-gap); font-size: var(--hindle-quote-size); line-height: 1.12; }
.hindle-fund-copy h1 em { font-style: normal; color: var(--hindle-muted); }
.hindle-fund .hindle-fund-lede { max-width: 42ch; margin: 20px auto 0; font-size: 18px; line-height: 1.55; }
.hindle-public .hindle-fund-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 28px; font: 500 22px/1.4 var(--hindle-serif); text-decoration: underline; text-decoration-color: var(--hindle-rule); text-underline-offset: 6px; }
.hindle-fund-cta:hover { text-decoration-color: currentColor; }
.hindle-fund-cta span { display: inline-block; font: 18px var(--hindle-sans); transition: transform var(--hindle-reveal-duration) var(--hindle-reveal-easing); }
.hindle-fund-cta:hover span { transform: translateX(3px); }
/* The record behind the fund: the deck's "111" built from every company mark. */
.hindle-fund-record .hindle-section-heading { gap: var(--hindle-heading-gap); }
.hindle-fund-record .hindle-stories-intro { margin-top: 4px; }
/* The emphasis: the one word set in the serif, a touch larger, with an ice rule beneath. */
.hindle-fund-record .hindle-stories-intro em { font: var(--hindle-editorial-weight) 1.3em/1 var(--hindle-serif); font-style: normal; color: var(--hindle-text); text-decoration: underline; text-decoration-color: var(--hindle-ice); text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* Three digits of six columns each, separated by a gap column; tiles are square and scale
   with the container. On paper the backplates are one flat hairline blue; on night they run
   from a deeper to a lighter surface down the rows, where a flat plate would sink away. */
.hindle-fund { --hindle-mosaic-from: #c7d9e5; --hindle-mosaic-to: #c7d9e5; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .hindle-fund { --hindle-mosaic-from: #243b4c; --hindle-mosaic-to: #3d586c; } }
html[data-theme="dark"] .hindle-fund { --hindle-mosaic-from: #243b4c; --hindle-mosaic-to: #3d586c; }
/* On wide screens the section fills a screen with the "111" centred; the tile size follows the
   viewport height so all twelve rows, the heading and the links fit without scrolling. */
.hindle-mosaic-stage { position: relative; }
.hindle-mosaic { --mosaic-gap: clamp(16px, 4vw, 64px); --tile-gap: clamp(2px, .4vw, 4px); --tile: clamp(18px, min(calc((100svh - 400px) / 12), calc((100vw - 2 * var(--hindle-gutter) - 2 * var(--mosaic-gap) - 17 * var(--tile-gap)) / 18)), 60px); display: grid; grid-template-columns: repeat(6, var(--tile)) var(--mosaic-gap) repeat(6, var(--tile)) var(--mosaic-gap) repeat(6, var(--tile)); gap: var(--tile-gap); justify-content: center; }
.hindle-fund-record { min-height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center; }
.hindle-fund-record .hindle-section-heading { justify-items: center; }
.hindle-fund-record .hindle-stories-intro { margin-inline: auto; }
.hindle-fund-record-links { justify-content: center; width: 100%; max-width: 920px; }
/* The popout: one card near the hovered or focused tile, with the company's mark and name,
   its descriptor, and a founder's words when it has them. Visual only; the tile keeps its name. */
.hindle-mosaic-pop { position: absolute; z-index: 3; width: min(340px, calc(100vw - 2 * var(--hindle-gutter))); padding: 20px 22px; border: 1px solid var(--hindle-rule); background: var(--hindle-bg); color: var(--hindle-text); text-align: left; box-shadow: 0 18px 48px rgba(11, 30, 45, .18); opacity: 0; transform: translateY(6px); transition: opacity var(--hindle-reveal-duration) var(--hindle-reveal-easing), transform var(--hindle-reveal-duration) var(--hindle-reveal-easing); pointer-events: none; }
.hindle-mosaic-pop[data-mosaic-shown] { opacity: 1; transform: none; }
.hindle-mosaic-pop-head { display: flex; align-items: center; gap: 12px; }
.hindle-mosaic-pop-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 6px; background: var(--hindle-mosaic-from); color: var(--hindle-text); }
.hindle-mosaic-pop-mark svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.hindle-mosaic-pop-name { font: 500 var(--hindle-company-name-size)/1.25 var(--hindle-sans); }
.hindle-mosaic-pop-description { margin-top: 2px; color: var(--hindle-muted); font-size: 13px; line-height: 1.45; }
.hindle-mosaic-pop blockquote { margin: 16px 0 0; font: var(--hindle-editorial-weight) 19px/1.4 var(--hindle-serif); white-space: pre-line; }
.hindle-mosaic-pop .hindle-mosaic-attribution { margin-top: 12px; color: var(--hindle-muted); font-size: 13px; line-height: 1.5; }
.hindle-mosaic-pop .hindle-mosaic-attribution strong { display: block; color: var(--hindle-text); font-weight: 500; }
.hindle-mosaic-story { display: none; }
@media (prefers-reduced-motion: reduce) { .hindle-mosaic-pop { transition: none; transform: none; } }
.hindle-public .hindle-mosaic-tile { display: grid; place-items: center; aspect-ratio: 1; padding: 18%; background: color-mix(in oklab, var(--hindle-mosaic-from) calc((1 - var(--t, 0)) * 100%), var(--hindle-mosaic-to)); color: var(--hindle-text); text-decoration: none; transition: background-color var(--hindle-reveal-duration) var(--hindle-reveal-easing), color var(--hindle-reveal-duration) var(--hindle-reveal-easing), transform var(--hindle-reveal-duration) var(--hindle-reveal-easing); }
.hindle-mosaic-tile svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.hindle-public .hindle-mosaic-tile:hover, .hindle-public .hindle-mosaic-tile:focus-visible { background: var(--hindle-text); color: var(--hindle-bg); transform: translateY(-2px); z-index: 1; }
.hindle-fund .hindle-mosaic-caption { max-width: 920px; margin-top: 20px; color: var(--hindle-muted); font: var(--hindle-editorial-weight) 22px/1.3 var(--hindle-serif); text-align: center; }
.hindle-fund-record-links { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: var(--hindle-heading-space); }
.hindle-fund-record-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* Participation: the invitation and action sit beside the heading on wide screens. */
.hindle-fund-participate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 64px; padding-top: 48px; border-top: 1px solid var(--hindle-rule); }
.hindle-fund-participate .hindle-section-heading { align-content: start; margin-bottom: 0; }
.hindle-fund-participate h2 { max-width: 14ch; font-size: 36px; line-height: 1.2; }
.hindle-fund-participate-body { display: grid; align-content: start; justify-items: start; gap: 24px; }
.hindle-fund-participate-copy { display: grid; gap: 16px; max-width: 44ch; }
.hindle-fund-participate-copy p:first-child { font-size: 18px; line-height: 1.55; }
.hindle-fund-participate-copy p + p { color: var(--hindle-muted); font-size: 15px; }
/* Outranks the shared `.hindle-public button { color: inherit }`. */
.hindle-public .hindle-enquiry-submit { min-height: 52px; padding: 0 28px; border: 1px solid var(--hindle-text); background: var(--hindle-text); color: var(--hindle-bg); font-size: 15px; transition: background-color var(--hindle-reveal-duration) var(--hindle-reveal-easing), color var(--hindle-reveal-duration) var(--hindle-reveal-easing); }
.hindle-public .hindle-enquiry-submit:hover { background: transparent; color: var(--hindle-text); }
/* The panel: a side sheet from the right on wide screens, and on phones the same kinetic
   bottom sheet as the companies page: drag handle, drag to dismiss, locked page behind. */
.hindle-enquiry-panel { position: fixed; inset: 0 0 0 auto; width: min(480px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--hindle-rule); background: var(--hindle-bg); color: var(--hindle-text); overflow: hidden; box-shadow: -16px 0 64px #0003; }
.hindle-enquiry-panel::backdrop { background: rgb(3 14 24 / .55); }
.hindle-enquiry-panel[open] { animation: hindle-panel-enter 240ms cubic-bezier(.2, .8, .2, 1); }
@keyframes hindle-panel-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
.hindle-enquiry-handle { display: none; }
.hindle-enquiry-content { max-height: 100dvh; padding: clamp(24px, 4vw, 40px); overflow-y: auto; overscroll-behavior: contain; }
.hindle-enquiry-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.hindle-enquiry-panel-head h3 { font: 500 30px/1.2 var(--hindle-serif); }
.hindle-enquiry-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: -8px -8px 0 0; padding: 0; border: 0; background: transparent; color: var(--hindle-muted); font-size: 28px; line-height: 1; }
.hindle-enquiry-close:hover { color: var(--hindle-text); }
.hindle-enquiry { display: grid; gap: 20px; margin: 0; }
.hindle-enquiry-field { display: grid; gap: 8px; }
.hindle-enquiry-group { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.hindle-enquiry-group legend { margin-bottom: 10px; padding: 0; font-size: 13px; }
.hindle-enquiry-group legend span { margin-left: 8px; color: var(--hindle-muted); }
.hindle-enquiry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hindle-enquiry input::placeholder { color: var(--hindle-muted); opacity: .7; }
.hindle-enquiry label { font-size: 13px; }
.hindle-enquiry label span { margin-left: 8px; color: var(--hindle-muted); }
.hindle-enquiry :is(input, textarea) { width: 100%; padding: 14px 16px; border: 1px solid var(--hindle-rule); border-radius: 0; background: transparent; color: var(--hindle-text); font: 16px/1.5 var(--hindle-sans); }
.hindle-enquiry :is(input, textarea):focus { outline: 2px solid var(--hindle-focus); outline-offset: 2px; border-color: var(--hindle-focus); }
.hindle-enquiry textarea { min-height: 128px; resize: vertical; }
/* The honeypot is kept out of sight and out of the tab order; people never meet it. */
.hindle-enquiry-extra { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hindle-enquiry .hindle-enquiry-submit { justify-self: start; }
.hindle-enquiry[data-enquiry-busy] .hindle-enquiry-submit { opacity: .6; cursor: progress; }
.hindle-enquiry-error { padding: 12px 16px; border-left: 2px solid var(--hindle-text); font-size: 14px; }
/* After a refused post: a summary linking to each problem, and each message beside its field.
   Problems are marked by weight, rule and words, never by colour alone. */
.hindle-enquiry-summary { display: grid; gap: 8px; padding: 16px; border: 2px solid var(--hindle-text); }
.hindle-enquiry-summary:focus { outline: 2px solid var(--hindle-focus); outline-offset: 2px; }
.hindle-enquiry-summary h4 { font: 500 22px/1.2 var(--hindle-serif); }
.hindle-enquiry-summary ul { display: grid; gap: 6px; margin: 0; padding-left: 18px; font-size: 14px; }
.hindle-enquiry-summary a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hindle-enquiry-field-error { padding-left: 10px; border-left: 2px solid var(--hindle-text); font-size: 13px; font-weight: 600; }
.hindle-enquiry :is(input, textarea)[aria-invalid="true"] { border: 2px solid var(--hindle-text); padding: 13px 15px; }
.hindle-enquiry-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hindle-fund .hindle-fund-smallprint { color: var(--hindle-muted); font-size: 13px; }
.hindle-fund-sent h4 { font: 500 30px/1.2 var(--hindle-serif); }
.hindle-fund .hindle-fund-sent p { margin-top: 12px; color: var(--hindle-muted); }
@media (max-width: 767px) {
  .hindle-fund-fawn { width: min(300px, 72vw); margin-bottom: 32px; }
  .hindle-fund .hindle-fund-lede { font-size: 17px; }
  .hindle-public .hindle-fund-cta { font-size: 20px; }
  .hindle-fund-record { min-height: 0; display: block; text-align: left; }
  .hindle-fund-record .hindle-section-heading { justify-items: start; }
  .hindle-fund-record .hindle-stories-intro { margin-inline: 0; }
  .hindle-fund-record-links { justify-content: flex-start; }
  .hindle-fund .hindle-mosaic-caption { text-align: left; }
  .hindle-mosaic { --mosaic-gap: 12px; --tile-gap: 2px; grid-template-columns: repeat(6, minmax(0, 1fr)) var(--mosaic-gap) repeat(6, minmax(0, 1fr)) var(--mosaic-gap) repeat(6, minmax(0, 1fr)); justify-content: stretch; }
  .hindle-mosaic-pop { display: none; }
  .hindle-public .hindle-mosaic-tile { padding: 14%; }
  .hindle-fund .hindle-mosaic-caption { font-size: 18px; }
  .hindle-fund-record-links { gap: 8px 24px; }
  .hindle-fund-participate { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .hindle-fund-participate h2 { max-width: 16ch; font-size: 30px; }
  .hindle-fund-participate-body { gap: 20px; justify-items: stretch; }
  .hindle-fund-open { width: 100%; }
  .hindle-enquiry-panel { inset: auto 0 0; width: 100%; height: auto; max-height: 88dvh; border: 1px solid var(--hindle-rule); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -16px 64px #0003; }
  @keyframes hindle-panel-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .hindle-enquiry-handle { display: grid; place-items: center; height: 40px; cursor: grab; touch-action: none; }
  .hindle-enquiry-handle span { width: 36px; height: 4px; border-radius: 4px; background: var(--hindle-muted); opacity: .45; }
  .hindle-enquiry-content { max-height: calc(88dvh - 40px); padding: 0 24px max(24px, env(safe-area-inset-bottom)); }
  .hindle-enquiry-panel-head { margin-bottom: 20px; }
  .hindle-enquiry-close { margin-top: -4px; }
  .hindle-enquiry-panel-head h3 { font-size: 26px; }
  .hindle-enquiry .hindle-enquiry-submit { justify-self: stretch; }
  .hindle-enquiry-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Without JavaScript (no data-js on html) the panel is shown in place and the script-only
   controls are dropped. The form still posts and redirects normally. */
html:not([data-js]) .hindle-enquiry-panel { grid-column: 1 / -1; display: block; position: static; width: auto; max-width: 560px; height: auto; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; animation: none; }
html:not([data-js]) .hindle-enquiry-content { max-height: none; padding: 0; overflow: visible; }
html:not([data-js]) :is(.hindle-enquiry-close, .hindle-enquiry-handle, .hindle-fund-open) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hindle-enquiry-panel[open] { animation: none; }
}
/* The privacy link beside the submit button: underlined so it is not marked by colour alone. */
.hindle-fund .hindle-fund-smallprint a { text-decoration: underline; text-underline-offset: 3px; }
