/* Public-only layout. Colour, type and spacing defaults come from tokens.css. */
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; background: var(--hindle-bg); overflow-x: clip; }
.hindle-public { margin: 0; background: var(--hindle-bg); color: var(--hindle-text); font: var(--hindle-body-size)/1.6 var(--hindle-sans); -webkit-font-smoothing: antialiased; }
.hindle-public [hidden] { display: none !important; }
.hindle-public a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
.hindle-public a:hover { text-decoration: underline; }
.hindle-public button { color: inherit; font: inherit; cursor: pointer; }
.hindle-public :is(a, button) { -webkit-tap-highlight-color: transparent; }
.hindle-public :is(a, button):focus:not(:focus-visible) { outline: none; }
.hindle-public :is(a, button):focus-visible { outline: 2px solid var(--hindle-focus); outline-offset: 2px; }
.hindle-public :is(h1, h2, h3, p) { margin: 0; }
.hindle-public :is(h1, h2) { font-family: var(--hindle-serif); font-weight: var(--hindle-editorial-weight); }
.hindle-public h1 { font-size: var(--hindle-hero-size); line-height: 1.15; }
.hindle-public h2 { font-size: var(--hindle-section-size); line-height: 1.2; }
.hindle-main { display: grid; gap: var(--hindle-section-space); padding-bottom: var(--hindle-section-space); }
.hindle-container { width: min(calc(100% - var(--hindle-gutter) * 2), var(--hindle-content-width)); margin-inline: auto; }
.hindle-skip { position: absolute; top: -100px; left: 24px; z-index: 10; padding: 12px 16px; background: var(--hindle-bg); }
.hindle-skip:focus { top: 16px; }
.hindle-logo { display: block; width: 152px; flex: 0 0 152px; }
.hindle-logo picture, .hindle-logo img { display: block; width: 100%; height: auto; }
.hindle-hind { display: block; width: 50px; flex: 0 0 50px; }
.hindle-hind img { display: block; width: 100%; height: auto; }
.hindle-hero { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; isolation: isolate; }
.hindle-hero-art, .hindle-hero-canvas { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* The particle hero re-renders the dot artwork on a transparent canvas over the page surface. */
.hindle-hero-canvas { display: block; width: 100%; height: 100%; }
/* Aspect-specific artwork and focal points protect the deer while filling the first screen. */
.hindle-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right 65%; }
.hindle-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--hindle-bg) 96px, transparent 220px, transparent 66%, var(--hindle-bg)); }
.hindle-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.hindle-header nav, .hindle-nav-links, .hindle-footer nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.hindle-nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.hindle-theme { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 24px !important; }
/* Reserve the control's footprint before JavaScript enables it. */
.hindle-public .hindle-theme[hidden] { display: grid !important; visibility: hidden; }
.hindle-hero-copy { grid-row: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 60px; }
.hindle-hero-copy p { margin-top: 8px; font-size: 14px; }
.hindle-hero-scenes { display: flex; align-items: center; margin-right: -15px; color: var(--hindle-muted); }
/* Ring and chevrons share one 14 px box, stroke weight and colour so they sit on one centre line. */
.hindle-hero-scenes svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.hindle-hero-scenes button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; transition: color var(--hindle-reveal-duration) var(--hindle-reveal-easing); }
.hindle-hero-scenes button:hover { color: var(--hindle-text); }
.hindle-hero-dial { margin-right: 15px; }
.hindle-hero-dial circle:first-child { opacity: .3; }
.hindle-hero-dial-fill { stroke-dasharray: 40.84; stroke-dashoffset: 40.84; transform: rotate(-90deg); transform-origin: center; }
.hindle-hero-scenes[data-dial-running="true"] .hindle-hero-dial-fill { animation: hindle-dial var(--hindle-dial-seconds, 5s) linear forwards; }
.hindle-hero-scenes[data-dial-paused="true"] .hindle-hero-dial-fill { animation-play-state: paused; }
@keyframes hindle-dial { to { stroke-dashoffset: 0; } }
.hindle-section-heading { display: grid; gap: var(--hindle-heading-gap); margin-bottom: var(--hindle-heading-space); }
.hindle-summary { padding-block: var(--hindle-summary-space); text-align: center; }
.hindle-summary p { max-width: 1040px; margin-inline: auto; font: var(--hindle-editorial-weight) var(--hindle-quote-size)/1.22 var(--hindle-serif); }
.hindle-summary .hindle-hind { width: 42px; margin: 32px auto 0; }
.hindle-public .hindle-stories-intro { max-width: 52ch; margin-top: 4px; color: var(--hindle-muted); }
.hindle-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hindle-story-gap) 80px; }
.hindle-story { display: grid; grid-template-rows: 1fr auto; gap: var(--hindle-attribution-space); margin: 0; }
.hindle-story blockquote { margin: 0; font: 500 var(--hindle-supporting-quote-size)/1.3 var(--hindle-serif); }
.hindle-stories > .hindle-story:first-child { grid-column: 1 / -1; max-width: 840px; }
.hindle-stories > .hindle-story:first-child blockquote { font-size: var(--hindle-quote-size); line-height: 1.22; }
.hindle-story figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; }
.hindle-eyebrow { font-size: var(--hindle-label-size); letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; }
.hindle-investments .hindle-section-heading { margin-bottom: 12px; }
.hindle-investments-hint { margin-bottom: var(--hindle-heading-space); color: var(--hindle-muted); font-size: 14px; }
/* One screen: the chosen company's story (left) and mark (right) above a strip of square tiles.
   The stage canvas spans the whole body so flocks can leave and return across it. */
.hindle-investments { position: relative; isolation: isolate; }
.hindle-investments-body { display: grid; gap: 40px; }
/* The canvas covers the whole section, heading included, so the mark can rise to the title. */
/* 100vw includes the vertical scrollbar, so the document clips horizontal overflow above. */
.hindle-investments canvas { position: absolute; top: calc(-1 * var(--hindle-section-space)); bottom: 0; left: 50%; z-index: -1; display: block; width: 100vw; height: calc(100% + var(--hindle-section-space)); margin-left: -50vw; pointer-events: none; }
.hindle-public { overflow-x: clip; }
.hindle-stage-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; min-height: clamp(320px, 52vh, 560px); }
/* The stage box only marks the mark's home; the cloud is drawn larger than the box and sits
   behind the story and the tiles, which is intended. */
.hindle-company-stage { position: static; height: clamp(320px, 52vh, 560px); aspect-ratio: 1; margin-inline: auto; margin-top: calc(-1 * clamp(60px, 10vh, 120px)); }
.hindle-stage-info { position: relative; }
.hindle-company-stage[hidden] { display: none; }
.hindle-stage-profile h3 { font: 500 30px/1.2 var(--hindle-serif); }
.hindle-stage-what { margin-top: 4px; color: var(--hindle-muted); font-size: 14px; }
.hindle-stage-profile > p:not(.hindle-stage-what) { margin-top: 16px; max-width: 48ch; font-size: 16px; line-height: 1.55; }
.hindle-stage-founders { font-size: 14px; }
.hindle-stage-key { display: block; margin-bottom: 2px; font-size: var(--hindle-label-size); letter-spacing: .18em; text-transform: uppercase; color: var(--hindle-muted); }
.hindle-stage-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; }
.hindle-stage-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--hindle-muted); }
.hindle-stage-link:hover { color: var(--hindle-text); }
.hindle-stage-link svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* The Y Combinator mark keeps its own orange, like the company logos. */
.hindle-stage-link .hindle-yc { stroke: none; }
.hindle-stage-link .hindle-yc rect { fill: #f26625; }
.hindle-stage-link .hindle-yc path { fill: #fff; }
/* The strip scrolls horizontally at every width; tiles keep a fixed size and snap into place. */
/* Padding inside the scroll area, offset by negative margins, keeps outlines and focus rings
   of the first, last and chosen tiles from being clipped at the edges. */
.hindle-company-strip { display: flex; gap: 12px; margin: -8px -8px 0; padding: 8px 8px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 8px; scrollbar-width: thin; scrollbar-color: var(--hindle-rule) transparent; overscroll-behavior-x: contain; }
.hindle-company { flex: 0 0 128px; min-width: 0; scroll-snap-align: start; }
/* Auto-advance: the chosen tile fills from left to right over one turn of the mark. */
.hindle-company-select { position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center; align-content: center; gap: 10px; width: 100%; aspect-ratio: 1; padding: 10px 6px; border: 1px solid var(--hindle-rule); background: transparent; color: inherit; cursor: pointer; transition: border-color var(--hindle-reveal-duration) var(--hindle-reveal-easing), color var(--hindle-reveal-duration) var(--hindle-reveal-easing); }
.hindle-company-select:hover { border-color: var(--hindle-focus); }
.hindle-company[data-selected="true"] .hindle-company-select { border-color: var(--hindle-text); box-shadow: inset 0 0 0 1px var(--hindle-text); }
.hindle-company-logo { width: 40px; height: 40px; object-fit: contain; background: #f0f5f8; }
.hindle-company-name { max-width: 100%; font-size: 12px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--hindle-muted); overflow-wrap: anywhere; }
.hindle-company[data-selected="true"] .hindle-company-name { color: var(--hindle-text); }
/* The fill is a wash sweeping left to right with a bright leading edge; the logo lifts slightly. */
.hindle-company-select::before { content: ""; position: absolute; inset: 0; z-index: -1; width: 0; background: linear-gradient(90deg, transparent, var(--hindle-text) 70%); opacity: .14; }
.hindle-company-select::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; width: 2px; background: var(--hindle-text); opacity: 0; transform: translateX(-100%); }
.hindle-company[data-filling="true"] .hindle-company-select::before { animation: hindle-advance var(--hindle-advance-seconds, 7s) linear forwards; }
.hindle-company[data-filling="true"] .hindle-company-select::after { opacity: .85; animation: hindle-advance-edge var(--hindle-advance-seconds, 7s) linear forwards; }
.hindle-company[data-filling="true"] .hindle-company-logo { animation: hindle-advance-lift var(--hindle-advance-seconds, 7s) ease-in-out forwards; }
.hindle-company[data-fill-paused="true"] .hindle-company-select::before, .hindle-company[data-fill-paused="true"] .hindle-company-select::after, .hindle-company[data-fill-paused="true"] .hindle-company-logo { animation-play-state: paused; }
@keyframes hindle-advance { to { width: 100%; } }
@keyframes hindle-advance-edge { to { left: 100%; } }
@keyframes hindle-advance-lift { 50% { transform: translateY(-3px) scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hindle-company[data-filling="true"] .hindle-company-logo { animation: none; } }
.hindle-portfolio-link { margin-top: var(--hindle-heading-space); padding-top: 24px; border-top: 1px solid var(--hindle-rule); }
.hindle-portfolio-link a, .hindle-editorial-link { font: 500 22px/1.4 var(--hindle-serif); }
.hindle-portfolio-link span, .hindle-editorial-link span { display: inline-block; margin-left: 8px; font: 18px var(--hindle-sans); }
.hindle-about { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 80px; row-gap: var(--hindle-heading-space); }
.hindle-about-heading { grid-column: 1 / -1; margin-bottom: 0; }
.hindle-about-heading h2 { max-width: 640px; }
.hindle-portrait { grid-column: 1; grid-row: 2; align-self: start; width: 240px; }
.hindle-portrait img { display: block; width: 100%; height: auto; }
.hindle-about-copy { grid-column: 2; grid-row: 2; max-width: 640px; }
.hindle-about-copy > p { color: var(--hindle-muted); }
.hindle-reputation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-block: 32px; padding-top: 24px; border-top: 1px solid var(--hindle-rule); }
.hindle-reputation h3 { font: 500 22px/1.3 var(--hindle-serif); }
.hindle-reputation p { margin-top: 8px; font-size: 14px; color: var(--hindle-muted); }
.hindle-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 32px; border-top: 1px solid var(--hindle-rule); }
.hindle-footer-brand { display: inline-flex; align-items: center; gap: 20px; min-height: 50px; flex: 0 0 auto; }
.hindle-footer-brand .hindle-wordmark { display: block; width: 128px; }
.hindle-footer-brand .hindle-wordmark img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) {
  /* Tablets keep the two-column story and mark, with a smaller mark; phones stack below. */
  .hindle-investments-body { gap: 28px; }
  .hindle-stage-detail { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px; min-height: clamp(240px, 34vh, 360px); }
  .hindle-company-stage { height: clamp(240px, 34vh, 360px); margin-top: calc(-1 * clamp(40px, 6vh, 80px)); }
  .hindle-company-strip { gap: 10px; padding-bottom: 6px; }
  .hindle-company { flex-basis: 96px; }
  .hindle-company-logo { width: 32px; height: 32px; }
  .hindle-company-name { font-size: 11px; }
  .hindle-about { grid-template-columns: 240px minmax(0, 1fr); column-gap: 40px; }
}
@media (max-width: 767px) {
  .hindle-stage-detail { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; }
  .hindle-company-stage { order: -1; height: clamp(150px, 24vh, 220px); margin: 28px auto 0; }
  .hindle-header { padding-block: 12px; gap: 12px; }
  .hindle-header .hindle-logo { width: 128px; flex-basis: 128px; }
  .hindle-header nav, .hindle-nav-links { gap: 12px; }
  .hindle-summary .hindle-hind { margin-top: 24px; }
  .hindle-hero-copy { display: block; margin-bottom: 44px; }
  .hindle-hero-scenes { justify-content: flex-end; margin: 8px -15px 0 0; }
  .hindle-stories { grid-template-columns: minmax(0, 1fr); }
  .hindle-portfolio-link a, .hindle-editorial-link { font-size: 20px; }
  .hindle-about { grid-template-columns: minmax(0, 1fr); gap: var(--hindle-heading-space); }
  .hindle-about-heading, .hindle-about-copy { grid-column: 1; }
  .hindle-about-heading { grid-row: 1; }
  .hindle-portrait { grid-row: 2; width: 200px; }
  .hindle-about-copy { grid-row: 3; }
  .hindle-about-heading h2 { max-width: 340px; }
  .hindle-reputation { gap: 24px; }
  .hindle-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hindle-footer nav { flex-wrap: wrap; gap: 12px 24px; }
}
@media (max-aspect-ratio: 1/1) {
  .hindle-hero-art img { object-position: 70% 60%; }
}
@media (max-aspect-ratio: 9/20) {
  .hindle-hero-art img { object-position: 90% center; }
  .hindle-hero[data-hero-scene="bracken"] .hindle-hero-art img { object-position: 95% center; }
}
@media (max-width: 379px) {
  .hindle-header { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px 16px; }
  .hindle-header nav { display: contents; }
  .hindle-header .hindle-theme { grid-column: 2; grid-row: 1; }
  .hindle-nav-links { grid-column: 1 / -1; grid-row: 2; gap: 24px; }
  .hindle-reputation { grid-template-columns: minmax(0, 1fr); }
}
