/* Layout for secondary pages on the kit tokens.
   Loaded with lf-brand-system.cdf5fa5a.css. Article HTML is not restyled by rewriting it.
   Old variable names in kept <style> blocks resolve to the kit. */

body.lf-system {
  --paper: var(--lf-canvas);
  --paper-2: var(--brand-surface);
  --ink: var(--lf-ink);
  --ink-soft: var(--lf-muted);
  --line: var(--lf-divider);
  --bronze: var(--brand-accent);
  --bronze-deep: var(--brand-text);
  --serif: var(--lf-font-display);
  --sans: var(--lf-font-body);
  --paper-rgb: 251, 245, 239;
}

body.lf-system .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body.lf-system .wrap {
  width: min(var(--lf-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

body.lf-system .page-head { padding: 2.2rem 0 1rem; }
body.lf-system .page-head h1 {
  max-width: 22ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0.2rem 0 0.6rem;
}
body.lf-system .page-split { display: grid; gap: 0.4rem 2rem; }
body.lf-system .dek,
body.lf-system .p3-dek { max-width: 42rem; font-size: 1.15rem; }
body.lf-system .crumbs {
  display: block;
  margin: 0 0 0.8rem;
  color: var(--lf-muted);
  font-family: var(--lf-font-body);
  font-size: 0.85rem;
  line-height: 1.45;
}
body.lf-system main nav.crumbs a:not(p a):not(li a):not(.hub-card):not(figure a),
body.lf-system .crumbs a,
body.lf-system .crumbs span {
  display: inline;
  min-height: 0;
  padding: 0;
  padding-inline: 0;
  line-height: inherit;
}
body.lf-system .crumbs a { color: var(--brand-text); }
body.lf-system .eyebrow,
body.lf-system .blog-head .eyebrow,
body.lf-system .p3-kicker,
body.lf-system .section-kicker,
body.lf-system .lf-kicker {
  color: var(--brand-text);
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-optical-sizing: auto;
  line-height: 1.3;
}
body.lf-system .lf-cat {
  color: var(--brand-text);
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.lf-system .prose,
body.lf-system .legal,
body.lf-system .post-body { max-width: 65ch; }
body.lf-system .prose a,
body.lf-system .legal a,
body.lf-system .post-body a { color: var(--brand-text); }
body.lf-system .legal { padding: 2.5rem 0 4rem; }
body.lf-system .legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
body.lf-system .legal h2 { margin: 2rem 0 0.6rem; }
body.lf-system .legal-eff,
body.lf-system .disclosure,
body.lf-system .lf-disc { color: var(--lf-muted); }

body.lf-system .about-grid,
body.lf-system .contact-grid {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 3rem;
}
body.lf-system .about-portrait img,
body.lf-system .portrait img,
body.lf-system .post-figure img { width: 100%; height: auto; display: block; }
body.lf-system .service-list { list-style: none; margin: 1rem 0 0; padding: 0; }
body.lf-system .service {
  display: grid;
  gap: 0.6rem;
  border-top: 3px solid var(--brand-accent);
  padding: 1.3rem 0;
}
body.lf-system .price-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-muted);
  font-size: 0.75rem;
}
body.lf-system .price-label { font-family: var(--lf-font-mono); }
body.lf-system .price-value {
  font-family: var(--lf-font-mono);
  font-size: 1.35rem;
  color: var(--lf-ink);
  background: var(--lf-gold);
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 0.35rem;
}
body.lf-system .inquiry,
body.lf-system .field-row { display: grid; gap: 1rem; }
body.lf-system .field label {
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}
body.lf-system .honey { display: none; }
body.lf-system .contact-aside { color: var(--lf-muted); }

body.lf-system .blog-list {
  list-style: none;
  margin: 0;
  padding: 0 0 2rem;
}
body.lf-system .blog-card {
  display: grid;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 4px solid var(--lf-ink);
}
body.lf-system .blog-card[data-cat="Photography"] { border-top-color: #48324C; }
body.lf-system .blog-card[data-cat="Wild"] { border-top-color: #335D45; }
body.lf-system .blog-card[data-cat="Journey"] { border-top-color: #295A74; }
body.lf-system .blog-card[data-cat="Imagination"] { border-top-color: #94536D; }
body.lf-system .blog-card[data-cat="FosterAi"] { border-top-color: #5144A4; }
body.lf-system .blog-card[data-cat="Gear"] { border-top-color: #2E2140; }
body.lf-system .blog-thumb {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--brand-surface);
}
body.lf-system .blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.lf-system .blog-card h2 { margin: 0.2rem 0 0.4rem; font-size: clamp(2rem, 3.5vw, 2.3125rem); }
body.lf-system .blog-card h2 a { color: var(--lf-ink); text-decoration: none; }
body.lf-system .blog-card .more { color: var(--brand-text); font-weight: 700; }

body.lf-system .lf-shop-grid,
body.lf-system .kp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
body.lf-system .lf-shop-card,
body.lf-system .kp-card {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  background: var(--lf-paper);
  color: var(--lf-ink);
  border-top: 4px solid var(--lf-ink);
  border-radius: 1rem;
  padding: 0.85rem;
  text-decoration: none;
}
body.lf-system .kp-card img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
  display: block;
  background: var(--lf-stone);
}
body.lf-system .kp-card,
body.lf-system .lf-shop-card { border-top-color: var(--brand-accent); }
body.lf-system details.kp-buys { margin: 0; }
body.lf-system details.kp-buys summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--lf-gold);
  color: var(--lf-ink);
  font-family: var(--lf-font-body);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
body.lf-system details.kp-buys summary::-webkit-details-marker { display: none; }
body.lf-system details.kp-buys[open] summary { margin-bottom: 0.4rem; }
body.lf-system details.kp-buys a,
body.lf-system .kp-buy,
body.lf-system .lf-shop-go {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0.2rem 0.35rem 0 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--lf-gold);
  color: var(--lf-ink);
  font-weight: 700;
  text-decoration: none;
}
body.lf-system .kp-sec { padding-bottom: 1.5rem; }
body.lf-system .kp-sec h2 { margin: 0 0 0.8rem; }
body.lf-system .page-head .dek { margin-bottom: 0; }
body.lf-system .lf-shop-also { padding-top: 0.35rem; padding-bottom: 1.5rem; }
body.lf-system .lf-shop-also > :first-child { margin-top: 0; }

body.lf-system .cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.6rem 0 1rem;
}
body.lf-system .cat-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--lf-ink);
  text-decoration: none;
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: 0.01em;
}
body.lf-system .cat-nav a[aria-current="page"] {
  color: var(--brand-accent);
  box-shadow: inset 0 -2px 0 var(--brand-accent);
}
body.lf-system .lfa-grid,
body.lf-system .lfa-cards {
  display: block;
  column-count: 3;
  column-gap: 0.8rem;
  padding-bottom: var(--lf-space-8);
}
body.lf-system .lfa-tile,
body.lf-system .lfa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--lf-radius-card);
  min-height: 0;
  background: var(--lf-paper);
  color: var(--lf-ink);
  text-decoration: none;
}
body.lf-system .lfa-tile img,
body.lf-system .lfa-card img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}
body.lf-system .lfa-card img[src*="ftw-fungi"] {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
  background: var(--brand-surface);
}
body.lf-system .lfa-wide,
body.lf-system .lfa-tall {
  grid-column: auto;
  grid-row: auto;
}
body.lf-system .faq-list { padding-bottom: 2rem; }
body.lf-system .hp-grid figure {
  background: var(--lf-paper);
  border: 1px solid var(--lf-divider);
  border-radius: 0.8rem;
  overflow: hidden;
}
body.lf-system .wtw .jump a,
body.lf-system .wtw .pc {
  border-color: var(--brand-accent);
}
body.lf-system .wtw .pc {
  background: var(--lf-paper);
  color: var(--lf-ink);
}

body.lf-system button.btn,
body.lf-system a.btn,
body.lf-system a.more {
  font-family: var(--lf-font-body);
}

@media (max-width: 760px) {
  body.lf-system .lfa-grid,
  body.lf-system .lfa-cards,
  body.lf-system .lf-album-cap .lfa-cards { column-count: 2; }
}
@media (max-width: 490px) {
  body.lf-system .lfa-grid { column-count: 1; }
  body.lf-system .lfa-cards,
  body.lf-system .lf-album-cap .lfa-cards { column-count: 2; }
}
@media (min-width: 760px) {
  body.lf-system .blog-card { grid-template-columns: 240px 1fr; align-items: start; }
  body.lf-system .about-grid,
  body.lf-system .contact-grid,
  body.lf-system .page-split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  body.lf-system .field-row { grid-template-columns: 1fr 1fr; }
}

/* Gallery frames follow each photograph. This block stays after the grid overrides. */
body.lf-system .lfa-grid,
body.lf-system .lfa-cards,
body.lf-system .lf-album-cap .lfa-cards {
  display: block;
  column-count: 3;
  column-gap: 0.8rem;
}
body.lf-system .lfa-tile,
body.lf-system .lfa-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 0.8rem;
  break-inside: avoid;
  page-break-inside: avoid;
  overflow: hidden;
  vertical-align: top;
}
body.lf-system .lfa-tile img,
body.lf-system .lfa-card img,
body.lf-system .lf-album-cap img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
body.lf-system .lfa-tile figcaption {
  padding: 0.4rem 0.15rem 0.05rem;
  color: var(--lf-body);
  font-size: 0.82rem;
  line-height: 1.35;
}
body.lf-system .lfa-tile a.glightbox { display: block; }
@media (max-width: 900px) {
  body.lf-system .lfa-grid,
  body.lf-system .lfa-cards,
  body.lf-system .lf-album-cap .lfa-cards { column-count: 2; }
}
@media (max-width: 560px) {
  body.lf-system .lfa-grid { column-count: 1; }
  body.lf-system .lfa-cards,
  body.lf-system .lf-album-cap .lfa-cards { column-count: 2; }
}

/* Tile label: ink on the gold pill. Wins over the shared gold-button color. */
body.lf-system a.lf-shop-tile .lf-shop-go {
  align-self: flex-start;
  background: var(--lf-gold);
  color: var(--lf-ink);
  font-weight: 700;
}

/* Beats body.lf-system .blog-card p, which was painting the Kennedy Peak eyebrow in DM Sans. */
body.lf-system .blog-card p.eyebrow,
body.lf-system .post-body p.eyebrow,
body.lf-system .prose p.eyebrow,
body.lf-system .legal p.eyebrow,
body.lf-system p.lf-eyebrow,
body.lf-system p.lf-kicker,
body.lf-system p.p3-kicker,
body.lf-system p.section-kicker {
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: 0.01em;
  text-transform: none;
}
