/* =====================================================================
   Kindred — the reading pages, brought onto the home page's design.

   Loaded third: style.css builds the pages, kindred-dark.css turns its
   54 tokens over to charcoal, and this sheet takes the result the rest
   of the way to what the home page looks like. Three things the token
   flip alone cannot do:

     the company. The home page's panorama is fixed behind everything
     and panned by the scroll. Here it is the same artwork at a third of
     the strength, because a reading page needs contrast under body copy
     that a headline and one button do not.

     the material. style.css's panes are a flat fill with a hairline;
     the home page's are debossed and embossed against a single light
     high and to the left. Every block that was a bordered rectangle is
     restated as one or the other.

     the type. style.css sets display at 800 and near-neutral tracking.
     The home page sets it at 500 and -.025em, which is the voice; the
     heavier cut reads as a different site.

   No new markup is required for any of it. Everything below attaches to
   classes the 60 pages already carry.
   ===================================================================== */

/* ---- the ground ----------------------------------------------------
   The panorama has to sit behind the content and in front of the page
   colour, and a negative-z-index pseudo-element cannot do that while
   its own parent paints an opaque background: body is not a stacking
   context, so the layer lands in the root's and paints *behind* body's
   fill. This cost two attempts on the home page. The ground moves up to
   html and body is left transparent, which is the only arrangement
   where body::before has somewhere to be. */
html{ background:#242220 }
body{ background:transparent }

body::before{
  content:'';
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  /* Sized to the window's height and repeated sideways, so the artwork
     fills the screen and never runs out however far you scroll. */
  background:url("/img/people.png") repeat-x left center / auto 100%;
  /* A third of the strength it has on the home page. There a headline
     and one button sit on it; here a 66-character column of body text
     does, and at .17 the artwork was legible enough through the type to
     read as a competing picture rather than as a room the page is in. */
  opacity:.055;
  /* Softened top and bottom. Full-bleed artwork straight behind a
     66-character reading column is the one reliable way to make a page
     like this unreadable. */
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
          mask-image:linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:scroll()){
    @keyframes page-walk{ from{ background-position-x:0 } to{ background-position-x:-4200px } }
    body::before{ animation:page-walk linear both; animation-timeline:scroll(root) }
  }
}

/* ---- type ----------------------------------------------------------
   The home page's voice: Playfair at 500 and -.025em. Only two weights
   of it are self-hosted, so 500 renders as the 700 file - the point of
   setting it is the tracking and the leading, which is where the
   difference actually reads. */
/* .art h1 had no family of its own anywhere in style.css, so sixty
   article pages have been setting their titles in the body serif while
   the home page set its in Playfair. They were never the same face. */
html .art h1, html .art h2, html .art h3, html .art h4,
html .cta-band h2, html .primer h2{
  font-family:var(--display);
  font-weight:500; letter-spacing:-.025em; text-wrap:balance;
}
.art h1{ line-height:1.0; padding-bottom:.06em }
.art h2{ line-height:1.06; padding-bottom:.04em }
html .art .lede{ color:var(--ink-2); font-size:clamp(18px,1.5vw,21px); line-height:1.5 }
html .art > .wrap > p{ color:var(--ink-2) }
.art > .wrap > p strong, .art li strong{ color:var(--ink) }
em, .art em{ font-style:normal; color:var(--gold) }
.art i{ font-style:italic }

/* The eyebrow, at the home page's tracking. */
.eyebrow, .crumb{ letter-spacing:.28em; color:var(--gold) }

/* ---- the opening ---------------------------------------------------
   Every article starts with its title coming into focus rather than
   simply being there. Kindred's whole argument is that a face resolves
   on the third day, so the pages resolve too - the same entrance the
   home page opens with, so arriving here from it feels continuous. */
@media (prefers-reduced-motion:no-preference){
  @keyframes page-focus-in{
    0%  {opacity:0; filter:blur(14px); transform:translateY(16px); letter-spacing:.05em}
    60% {opacity:1}
    100%{opacity:1; filter:blur(0);    transform:none;             letter-spacing:-.025em}
  }
  .art h1{ animation:page-focus-in 1.15s cubic-bezier(.16,.84,.44,1) .08s both }
  .art .lede{ animation:page-focus-in .95s cubic-bezier(.16,.84,.44,1) .42s both }
  .art > .wrap > a.back{ animation:page-focus-in .8s cubic-bezier(.16,.84,.44,1) 0s both }
}

/* ---- the material --------------------------------------------------
   Raised where a block is an object you could pick up, cut where it is
   a recess in the page. The distinction is not decorative: the stat
   rows and the cards are things, the closing band and the primer are
   places the page has been hollowed out. */
html .stat > div, html .tryblock, html .card figure, html .nearby,
html .readnext, html .faq details, html .obs{
  background:rgba(44,41,38,.72);
  -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px);
  border:0; border-radius:28px;
  box-shadow:-6px -6px 16px rgba(255,255,255,.055), 7px 7px 20px rgba(0,0,0,.6);
}
html .cta-band, html .primer{
  background:rgba(32,30,28,.66);
  -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px);
  border:0; border-radius:34px;
  box-shadow:inset 5px 5px 13px rgba(0,0,0,.6), inset -4px -4px 10px rgba(255,255,255,.05);
  padding:clamp(26px,3.4vw,42px);
}
/* A hairline of light along the top edge of anything raised. One pixel,
   and it is the whole difference between a panel sitting on the page
   and a panel floating above it. */
.stat > div, .tryblock, .card figure, .nearby, .faq details{ position:relative }
.stat > div::before, .tryblock::before, .card figure::before,
.nearby::before, .faq details::before{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.13), transparent 46%);
  mix-blend-mode:overlay;
}
html .stat > div{ padding:24px 26px }
html .stat strong{ font-family:var(--display); font-weight:500;
  letter-spacing:-.025em; color:var(--gold) }
.readnext{ padding:10px 26px; overflow:hidden }
.readnext li{ border-top-color:rgba(251,247,241,.10) }
.readnext li:last-child{ border-bottom:0 }
.readnext li:first-child{ border-top:0 }

/* The groove the pull-quotes and rules sit in. */
.rule, hr{ border:0; height:1px; background:rgba(251,247,241,.13) }

/* ---- the primer ----------------------------------------------------
   One block, at the top of every page, that says what Kindred is for
   somebody who has never heard of it. These pages are read from search
   results far more often than from the home page, so each one is
   somebody's first screen and cannot assume the home page was read. */
.primer{ margin:34px 0 10px }
.primer p:first-child{ margin-top:0 }
.primer p:last-child{ margin-bottom:0 }
.primer .lab{
  font-family:var(--mono); font-size:11.5px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--gold); margin:0 0 12px;
}
.primer p{ color:var(--ink-2); font-size:16.5px; line-height:1.6 }
.primer strong{ color:var(--ink); font-weight:600 }

/* ---- the buttons ---------------------------------------------------
   The home page's pill, and the same slow ring on the primary one. */
.btn, .btn.big{
  border:0; border-radius:999px; padding:18px 32px;
  font-family:var(--mono); font-size:12.5px; letter-spacing:.15em;
  text-transform:uppercase; line-height:1; text-decoration:none;
  background:var(--ink); color:#211F1C !important;
  box-shadow:-6px -6px 16px rgba(255,255,255,.055), 7px 7px 20px rgba(0,0,0,.6);
  transition:transform 280ms cubic-bezier(.16,.84,.44,1),
             box-shadow 280ms cubic-bezier(.16,.84,.44,1);
}
.btn:hover, .btn.big:hover{ transform:translateY(-3px); color:#211F1C !important }
.btn:active{ transform:translateY(0); transition-duration:150ms;
  box-shadow:inset 6px 6px 15px rgba(0,0,0,.65), inset -3px -3px 9px rgba(255,255,255,.045) }
.btn.ghost{
  background:#2C2926; color:var(--gold) !important; border:0;
  box-shadow:-3px -3px 9px rgba(255,255,255,.05), 4px 4px 12px rgba(0,0,0,.55);
}
.btn.ghost:hover{ color:var(--ink) !important; background:#2C2926 }

@media (prefers-reduced-motion:no-preference){
  /* Slow on purpose. At a second or two a ring reads as a notification
     badge nagging you; at four it reads as something alive at the edge
     of your eye, which is what a front door wants. It stops the moment
     you point at it, and it never moves the button, so nothing reflows
     under the cursor. */
  @keyframes page-breathe{
    0%   { box-shadow:-6px -6px 16px rgba(255,255,255,.055), 7px 7px 20px rgba(0,0,0,.6), 0 0 0 0    rgba(217,188,134,.40) }
    62%  { box-shadow:-6px -6px 16px rgba(255,255,255,.055), 7px 7px 20px rgba(0,0,0,.6), 0 0 0 20px rgba(217,188,134,0) }
    100% { box-shadow:-6px -6px 16px rgba(255,255,255,.055), 7px 7px 20px rgba(0,0,0,.6), 0 0 0 0    rgba(217,188,134,0) }
  }
  .cta-band .btn:not(.ghost){ animation:page-breathe 4s cubic-bezier(.33,0,.2,1) 1.2s infinite }
  .cta-band .btn:hover, .cta-band .btn:focus-visible{ animation-play-state:paused }
}

/* ---- the bar -------------------------------------------------------
   A floating pill rather than a band with a rule under it, which is
   what the app's own rail is and what the home page implies. The band
   was drawn to sit on paper; on charcoal with artwork moving behind it,
   a seam across the top of the page is exactly what it looks like. */
.nav{ background:transparent; padding-top:12px }
.nav-inner{
  background:rgba(44,41,38,.80);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border:0; border-radius:999px;
  box-shadow:-4px -4px 12px rgba(255,255,255,.05), 6px 6px 18px rgba(0,0,0,.55);
  max-width:1120px; width:calc(100% - 36px); margin-inline:auto;
  padding:9px 12px 9px 20px;
}
.nav-cta{
  border:0 !important; border-radius:999px;
  background:var(--ink); color:#211F1C !important;
  box-shadow:-3px -3px 9px rgba(255,255,255,.05), 4px 4px 11px rgba(0,0,0,.5);
}
.nav-cta:hover{ color:#211F1C !important; transform:translateY(-2px) }
.wordmark .marklock{
  background:#262320;
  box-shadow:inset 4px 4px 10px rgba(0,0,0,.6), inset -3px -3px 8px rgba(255,255,255,.05);
}

/* ---- the foot ------------------------------------------------------ */
footer{ border-top:1px solid rgba(251,247,241,.10); margin-top:clamp(60px,9vh,110px) }
.foot-links a{ color:var(--ink-3) }
.foot-links a:hover{ color:var(--gold) }

/* ---- arriving ------------------------------------------------------
   Blocks come up as they enter. Scroll-driven rather than observed, so
   it is tied to the scroll position and not to a one-way trigger.

   The range finishes inside `entry`. A range that ends in `cover`
   cannot complete at the foot of a document, which is how the footer
   came to sit at opacity .73 on every page of this site once before. */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    @keyframes page-rise{ from{opacity:0; transform:translateY(24px)} to{opacity:1; transform:none} }
    .art h2, .art h3, .stat, .tryblock, .cta-band, .primer,
    .card, .nearby, .readnext, .obs, .art ol, .art ul{
      animation:page-rise linear both;
      animation-timeline:view();
      animation-range:entry 6% entry 94%;
    }
  }
}
@media (prefers-reduced-motion:reduce){
  .art h1, .art .lede, .art > .wrap > a.back, .cta-band .btn{ animation:none }
  body::before{ animation:none }
}

/* ---- narrow --------------------------------------------------------
   The artwork is the first thing to go on a phone: at 400px the band is
   a single figure's worth of panorama behind the entire column. */
@media (max-width:620px){
  body::before{ opacity:.035 }
  .btn, .btn.big{ padding:16px 26px }
  html .stat > div{ padding:20px 22px }
}

/* ---- a phone, edge to edge -----------------------------------------
   Two separate problems, and the meta tag is the bigger one.

   A phone browser tints its status bar and its bottom bar with
   theme-color, and all 54 of these pages still declared the paper
   cream. The page under them is charcoal, so the screen read as a dark
   band with a cream strip above it and another below - the page
   visibly not reaching the top or the bottom of the phone. Changed in
   the markup; nothing in CSS can reach it.

   The second is the safe areas. viewport-fit=cover is what lets the
   background run under the notch and the home indicator, and it is
   also what stops the browser insetting the content for us, so every
   edge that holds something readable has to inset itself. The ground
   (html, and the fixed artwork over it) deliberately does not: running
   under both is the entire point. */
html, body{ min-height:100% }

.nav{ padding-top:calc(12px + env(safe-area-inset-top, 0px)) }

/* The gutters pick up the landscape notch. The page sits in the middle
   on a laptop, so this is 0 everywhere it is not needed. */
.wrap{
  padding-left:calc(26px + env(safe-area-inset-left, 0px));
  padding-right:calc(26px + env(safe-area-inset-right, 0px));
}
footer{ padding-bottom:calc(34px + env(safe-area-inset-bottom, 0px)) }

@media (max-width:620px){
  /* The floating bar gets tighter to the edges, and the labels that do
     not fit go rather than wrap: a nav on two lines pushes the whole
     page down and looks broken. */
  html .nav-inner{ width:calc(100% - 20px); padding:8px 8px 8px 14px; gap:10px }
  html .nav-links{ gap:12px }
  html .nav-links a:not(.nav-cta){ display:none }
  html .nav-cta{ padding:11px 17px }
  html .wordmark{ font-size:12px; letter-spacing:.24em }
  html .wordmark .marklock{ width:30px; height:30px }
  html .wordmark .marklock img{ width:20px }

  /* The reading column keeps a real gutter at every width. */
  html .art > .wrap{ max-width:100% }
  html .art p, html .art li{ max-width:100% }

  /* Nothing is allowed to be wider than the phone. Tables, figures and
     anything with its own minimum scroll inside themselves instead of
     taking the page sideways with them. */
  html .art table, html .art pre, html .deskshots, html .gallery{
    display:block; max-width:100%; overflow-x:auto;
  }
  html img, html .card img{ max-width:100%; height:auto }
}

/* ======================================================================
   2026 redesign: the app's look, on every content page.
   Light first, dark when the reader's system is dark. Plus Jakarta Sans,
   ink and white, and the sunset for the few things that earn colour.
   Appended rather than merged so the old rules above can be retired
   page by page; everything here wins on order and on specificity.
   ====================================================================== */
@font-face { font-family: "Jakarta"; src: url(/fonts/PlusJakartaSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/PlusJakartaSans-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/PlusJakartaSans-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/PlusJakartaSans-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

html:root {
  --k-ground: #FCFBF9; --k-surface: #FFFFFF; --k-tint: #F3F1ED; --k-ink: #1B1A18; --k-soft: #6C6861;
  --k-line: rgba(27, 26, 24, .10); --k-ember: #C4381A; --k-glass: rgba(252, 251, 249, .8);
  --k-sun: linear-gradient(100deg, #FFB23E, #FF6A3D 55%, #F2456F);
  --cream: var(--k-ground); --ground: var(--k-ground); --paper: var(--k-surface); --surface: var(--k-surface);
  --ink: var(--k-ink); --muted: var(--k-soft); --rule: var(--k-line); --line: var(--k-line);
  --magenta: var(--k-ink); --on-magenta: var(--k-ground); --gold: var(--k-ember); --bronze: var(--k-ember);
  --room: var(--k-ground);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  html:root:not([data-theme="light"]) {
    --k-ground: #0C0B0A; --k-surface: #1A1917; --k-tint: #141312; --k-ink: #F6F4F0; --k-soft: #A7A29A;
    --k-line: rgba(255, 255, 255, .12); --k-ember: #FF8A5C; --k-glass: rgba(12, 11, 10, .75);
    color-scheme: dark;
  }
}
html:root[data-theme="dark"] {
  --k-ground: #0C0B0A; --k-surface: #1A1917; --k-tint: #141312; --k-ink: #F6F4F0; --k-soft: #A7A29A;
  --k-line: rgba(255, 255, 255, .12); --k-ember: #FF8A5C; --k-glass: rgba(12, 11, 10, .75);
  color-scheme: dark;
}
html body { background: var(--k-ground); color: var(--k-ink); font-family: "Jakarta", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html body::before { display: none; }
html body h1, html body h2, html body h3, html body .art h1, html body .art h2, html body .cta-band h2, html body .primer h2 {
  font-family: "Jakarta", ui-sans-serif, -apple-system, sans-serif; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: var(--k-ink); text-wrap: balance;
}
html body .art h1 { font-size: clamp(40px, 6vw, 68px); }
html body .art h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 1.6em; }
html body .art .lede { font-family: inherit; font-size: clamp(19px, 2vw, 22px); color: var(--k-soft); font-style: normal; }
html body .art > .wrap > p, html body .art li { color: var(--k-ink); font-family: inherit; }
html body .art > .wrap > p strong, html body .art li strong { color: var(--k-ink); font-weight: 700; }
html body em, html body .art em { font-style: italic; }
html body .eyebrow, html body .crumb { font-family: inherit; font-weight: 700; font-size: 14px; letter-spacing: .01em; text-transform: none; color: var(--k-ember); }
html body .crumb a { color: var(--k-soft); }
html body a { color: inherit; }
html body .art a:not(.btn) { text-decoration-color: rgba(255, 106, 61, .6); text-underline-offset: 3px; }

/* Nav: frosted, sticky, the same as the home page. */
html body .nav { position: sticky; top: 0; z-index: 10; background: var(--k-glass); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--k-line); box-shadow: none; }
html body .nav-inner { height: 60px; }
html body .wordmark { font-family: inherit; font-weight: 800; letter-spacing: -.03em; color: var(--k-ink); }
html body .nav-links a:not(.nav-cta) { font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--k-soft); }
html body .nav-links a:not(.nav-cta):hover { color: var(--k-ink); }

/* Buttons: an ink pill, and the sunset for the one that matters. */
html body .btn, html body .btn.big, html body .nav-cta {
  font-family: inherit; font-weight: 700; letter-spacing: 0; text-transform: none; border: 0; border-radius: 999px;
  background: var(--k-ink); color: var(--k-ground); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); transition: transform .2s cubic-bezier(.34, 1.4, .5, 1);
}
html body .btn:hover, html body .nav-cta:hover { transform: translateY(-2px); background: var(--k-ink); color: var(--k-ground); }
html body .btn.ghost { background: transparent; color: var(--k-ink); box-shadow: inset 0 0 0 1.5px var(--k-line); }
html body .cta-band .btn:not(.ghost) { background: linear-gradient(100deg, #F0562B, #E23A62); color: #fff; box-shadow: 0 18px 36px -14px rgba(226, 58, 98, .55); animation: none; }

/* Panels: white cards with a soft shadow, no paper, no grooves. */
html body .cta-band, html body .primer { background: var(--k-tint); border: 0; border-radius: 30px; box-shadow: none; color: var(--k-ink); }
html body .cta-band p, html body .primer p { color: var(--k-soft); }
html body .readnext, html body .faq details, html body .obs, html body .stat > div, html body .tryblock, html body .card figure, html body .nearby {
  background: var(--k-surface); border: 0; border-radius: 22px; box-shadow: 0 1px 0 var(--k-line), 0 18px 40px -30px rgba(0, 0, 0, .35); color: var(--k-ink);
}
html body .nearby::before, html body .faq details::before { display: none; }
html body .stat strong { font-family: inherit; font-weight: 800; background: var(--k-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body .rule, html body hr { border-color: var(--k-line); background: var(--k-line); }

/* Footer. */
html body footer { background: var(--k-ground); border-top: 1px solid var(--k-line); color: var(--k-soft); font-family: inherit; }
html body .foot-links a { font-family: inherit; letter-spacing: 0; text-transform: none; color: var(--k-soft); }
html body .foot-links a:hover { color: var(--k-ink); }

@media (prefers-reduced-motion: reduce) {
  html body .btn, html body .nav-cta { transition: none; }
}

/* The old bar was a floating dark pill with an upper-case wordmark; the
   new one is the frosted band above, so the pill and its tricks go. */
html body .nav-inner { background: transparent; box-shadow: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
html body .wordmark { font-size: 20px; letter-spacing: -.03em; text-transform: none; }
html body .wordmark .marklock { background: transparent; box-shadow: none; border: 0; }
html body .nav-cta { color: var(--k-ground) !important; background: var(--k-ink); border-color: var(--k-ink); padding: 11px 18px; font-size: 15px; }
html body .nav-cta:hover { color: var(--k-ground) !important; }
/* Words arrive sharp. The scroll-linked blur and rise read as a page
   still loading, so nothing on these pages animates on the way in. */
html body .art h1, html body .art h2, html body .art h3, html body .art .lede, html body .art > .wrap > p,
html body .art > .wrap > a.back, html body .stat, html body .tryblock, html body .cta-band, html body .primer,
html body .card, html body .nearby, html body .readnext, html body .obs, html body .art ol, html body .art ul {
  animation: none; opacity: 1; filter: none; transform: none;
}
html body .wordmark { display: inline-flex; align-items: center; gap: 8px; text-transform: lowercase; }
html body .wordmark .marklock { width: 28px; height: 28px; display: inline-grid; place-items: center; padding: 0; }
html body .wordmark .marklock img { width: 28px; height: 28px; }
