/* Five-brand shell. Tokens match the 2026-10-27 reference.
   Fraunces variable (SIL OFL) with optical size and italic.
   DM Sans (SIL OFL) 400 and 700. IBM Plex Mono (SIL OFL) 400. */

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-opsz-normal.7234ed86.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-opsz-italic.066710ce.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400.3c5a451f.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-400.68f48197.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-700.aeb2534c.woff2") format("woff2");
}

:root {
  --lf-dusk-a: #2B1B4A;
  --lf-dusk-b: #5B2A5E;
  --lf-dusk-c: #B8503E;
  --lf-mark-gold: #FFD27A;
  --lf-canvas: #FBF5EF;
  --lf-paper: #FFFFFF;
  --lf-stone: #F2EAE3;
  --lf-ink: #2E2140;
  --lf-body: #4A4250;
  --lf-muted: #746C75;
  --lf-divider: #E4DAD5;
  --lf-copper: #C05F42;
  --lf-gold: #D3A965;
  --lf-font-display: Fraunces, Georgia, "Times New Roman", serif;
  --lf-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lf-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --lf-space-1: 0.25rem;
  --lf-space-2: 0.5rem;
  --lf-space-3: 0.75rem;
  --lf-space-4: 1rem;
  --lf-space-6: 1.5rem;
  --lf-space-8: 2rem;
  --lf-space-12: 3rem;
  --lf-space-16: 4rem;
  --lf-radius-sm: 0.5rem;
  --lf-radius-card: 1rem;
  --lf-radius-panel: 1.5rem;
  --lf-max: 78rem;
  --lf-max-content: 78rem;
  --lf-max-article: 47rem;
  --lf-shadow-card: 0 10px 35px rgba(46, 33, 64, 0.10);
  --brand-accent: #2E2140;
  --brand-surface: #F6EFF3;
  --brand-text: #2E2140;
  --brand-on-accent: #FFFFFF;
}

[data-brand="photography"] {
  --brand-accent: #48324C;
  --brand-surface: #F6EFF3;
  --brand-text: #48324C;
  --lf-dusk-b: #48324C;
}
[data-brand="wild"] {
  --brand-accent: #335D45;
  --brand-surface: #EFF5EE;
  --brand-text: #335D45;
  --lf-dusk-b: #335D45;
}
[data-brand="journey"] {
  --brand-accent: #295A74;
  --brand-surface: #EAF3F5;
  --brand-text: #295A74;
  --lf-dusk-b: #295A74;
}
[data-brand="imagination"] {
  --brand-accent: #94536D;
  --brand-surface: #FFF0F2;
  --brand-text: #94536D;
  --lf-dusk-b: #94536D;
}
[data-brand="fosterai"] {
  --brand-accent: #5144A4;
  --brand-surface: #F0EEFD;
  --brand-text: #5144A4;
  --lf-dusk-b: #5144A4;
}
[data-brand="shop"] {
  --brand-accent: #845327;
  --brand-surface: #FCF4E7;
  --brand-text: #845327;
  --lf-dusk-b: #845327;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { text-size-adjust: 100%; }

body.lf-system {
  margin: 0;
  background: var(--lf-canvas);
  color: var(--lf-body);
  font-family: var(--lf-font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
}

body.lf-system h1,
body.lf-system h2,
body.lf-system h3,
body.lf-system .lf-display {
  font-family: var(--lf-font-display);
  font-weight: 400;
  color: var(--lf-ink);
  letter-spacing: -0.032em;
  line-height: 1.06;
  font-optical-sizing: auto;
}
body.lf-system h1 {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 400;
}
body.lf-system h2 {
  font-size: clamp(2rem, 3.5vw, 2.3125rem);
  font-weight: 400;
}
body.lf-system h3 {
  font-size: 1.35rem;
  font-weight: 500;
}
body.lf-system .lf-home-hero h1 {
  font-weight: 400;
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

body.lf-system a { color: var(--brand-text); }
body.lf-system img { max-width: 100%; height: auto; }
body.lf-system :focus-visible {
  outline: 3px solid var(--lf-copper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  background: var(--brand-accent);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 5;
}
.skip:focus { top: 0.5rem; }

/* One header. Same dusk gradient as the footer. */
.lf-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(135deg, var(--lf-dusk-a) 0%, var(--lf-dusk-b) 55%, var(--lf-dusk-c) 100%);
  color: var(--lf-canvas);
  border-bottom: 0;
  box-shadow: inset 0 3px 0 var(--brand-accent);
}
.lf-shell-bar {
  width: min(var(--lf-max-content), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
}
.lf-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--lf-canvas);
  text-decoration: none;
  font-family: var(--lf-font-display);
  font-size: 1.35rem;
  font-weight: 560;
  white-space: nowrap;
}
.lf-logo span,
.lf-foot-brand span {
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  letter-spacing: 0.015em;
  font-size: 1.5rem;
  line-height: 1;
}
.lf-foot-brand span em {
  font-style: italic;
  font-weight: 450;
}
.lf-mark { display: inline-flex; line-height: 0; }
.lf-mark img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: block;
}
.lf-mono {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: transparent url("/img/lf-dusk-mark.cae73956.webp") center / contain no-repeat;
  color: transparent;
  font-size: 0;
}
.lf-menu {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid var(--lf-canvas);
  background: transparent;
  color: var(--lf-canvas);
  font: inherit;
  font-weight: 700;
}
.lf-menu .menu-close-label { display: none; }
body.nav-open .lf-menu .menu-open-label { display: none; }
body.nav-open .lf-menu .menu-close-label { display: inline; }
.lf-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem 1rem;
  margin-left: auto;
  align-items: center;
}
.lf-nav a {
  color: var(--lf-canvas);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.lf-ico { width: 1rem; height: 1rem; flex: 0 0 auto; }
.lf-nav a[data-brand="photography"] { --nav-accent: #48324C; }
.lf-nav a[data-brand="wild"] { --nav-accent: #335D45; }
.lf-nav a[data-brand="journey"] { --nav-accent: #295A74; }
.lf-nav a[data-brand="imagination"] { --nav-accent: #94536D; }
.lf-nav a[data-brand="fosterai"] { --nav-accent: #5144A4; }
.lf-nav a[data-brand="shop"] { --nav-accent: #845327; }
.lf-nav a[aria-current="page"] {
  background: var(--lf-canvas);
  color: var(--nav-accent, var(--lf-ink));
  box-shadow: inset 0 -3px 0 var(--nav-accent, var(--brand-accent));
  border-radius: 999px;
  padding: 0 0.4rem;
}

/* One brand hero */
.lf-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 2;
  min-height: 60vh;
  color: #fff;
  background: var(--brand-accent);
  overflow: hidden;
  box-shadow: inset 0 5px 0 var(--brand-accent);
}
.lf-hero-media {
  position: absolute;
  inset: 0;
}
body.lf-system .lf-hero-media picture,
body.lf-system .lf-hero-media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 42%;
}
body.lf-system .lf-hero-media img[src*="lf-cherry-hero"] { object-position: center 28%; }
body.lf-system .lf-hero-media img[src*="shenandoah-storm-clouds"] { object-position: center 46%; }
body.lf-system .lf-hero-media img[src*="journey-skyline-drive-overlook"] { object-position: center 62%; }
.lf-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 10, 18, 0.12) 10%, rgba(16, 10, 18, 0.78) 100%);
}
.lf-hero-copy {
  position: relative;
  z-index: 1;
  width: min(46rem, calc(100% - 3rem));
  margin: 0 auto 3.2rem;
}
body.lf-system .lf-hero h1,
body.lf-system .lf-hero h2,
body.lf-system .lf-hero p,
body.lf-system .lf-hero .lf-eyebrow {
  color: #fff;
}
.lf-hero h1,
.lf-hero-copy h2 {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 400;
  margin: 0.4rem 0 0.7rem;
}
.lf-hero .lf-dek { font-size: 1.15rem; max-width: 38rem; margin: 0 0 1.1rem; }
.lf-hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.lf-eyebrow,
.p3-kicker,
.section-kicker,
.lf-kicker,
.eyebrow {
  margin: 0;
  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;
}

/* Accent-filled buttons, including former ghosts */
body.lf-system a.p3-btn,
body.lf-system a.btn,
body.lf-system button.p3-btn,
body.lf-system .lf-brand-button,
body.lf-system .lf-card .btn,
body.lf-system .lf-shop-go,
body.lf-system .expedia-search-load,
body.lf-system .expedia-search-reset,
body.lf-system a.p3-btn.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 0;
  background: var(--brand-accent);
  color: #fff;
  font-family: var(--lf-font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}
body.lf-system a.p3-btn.ghost { background: var(--brand-accent); color: #fff; }

main { display: block; }
main > * { width: 100%; }

.wrap,
.lf-band,
.section,
.p3-sec,
.p3-shop,
.lf-routes,
.lf-signup,
.cta-band,
.p3-about {
  width: min(var(--lf-max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.2rem 0;
}

.section,
.p3-sec,
.lf-band,
.lf-routes,
.lf-stay,
#stay-compare {
  border-top: 3px solid var(--brand-accent);
}

.lf-page-nav,
.lf-topics,
.lf-jump {
  width: min(var(--lf-max), calc(100% - 2.5rem));
  margin: 1rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lf-page-nav a,
.lf-topics a,
.lf-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-surface);
  color: var(--brand-text);
  text-decoration: none;
  font-weight: 700;
}

.trust-band {
  width: min(var(--lf-max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1rem 0 0;
  color: var(--lf-ink);
}

/* Homepage */
.lf-home-hero {
  width: min(var(--lf-max-content), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.4rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}
.lf-home-hero h1 {
  margin: 0.6rem 0;
  color: var(--lf-ink);
}
.lf-home-hero .lf-lead,
body.lf-system main p,
body.lf-system .lf-dek,
body.lf-system .p3-dek,
body.lf-system .dek,
body.lf-system .post-body,
body.lf-system .post-body p,
body.lf-system .post-body li,
body.lf-system .blog-card,
body.lf-system .blog-card p {
  font-family: var(--lf-font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}
.lf-home-hero .lf-lead { max-width: 40rem; margin: 0; }
.lf-home-hero .lf-eyebrow { color: var(--lf-copper); }
.lf-home-hero .lf-hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.lf-home-hero .lf-hero-actions a.alt {
  background: transparent;
  color: var(--lf-ink);
  outline: 1px solid var(--lf-divider);
}

.p3-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--lf-max-content), calc(100% - 2rem));
  margin: 0 auto 2.5rem;
}
.p3-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  grid-column: auto;
  border-radius: var(--lf-radius-card);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #fff;
  background: #1a1224;
  box-shadow: var(--lf-shadow-card);
}
body.lf-system .p3-tile picture,
body.lf-system .p3-tile img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover;
  margin: 0;
}
.p3-tile::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--card-accent, var(--brand-accent));
}
.p3-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 10, 18, 0.06) 20%, rgba(16, 10, 18, 0.22) 48%, rgba(16, 10, 18, 0.92) 100%);
}
.p3-tile-text {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.p3-tile-text small {
  align-self: flex-start;
  background: var(--card-accent, var(--brand-accent));
  color: #fff;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.p3-tile-text strong {
  font-family: var(--lf-font-display);
  font-weight: 400;
  font-size: 1.55rem;
  color: #fff;
  margin: 0.7rem 0 0.4rem;
}
.p3-tile-text .lf-benefit { color: #f7f2ec; font-size: 0.86rem; margin: 0 0 0.7rem; }
.p3-tile-text .lf-action {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-bottom: 1px solid #fff;
  align-self: flex-start;
}
.p3-tile[data-brand="photography"] { --card-accent: #48324C; }
.p3-tile[data-brand="wild"] { --card-accent: #335D45; }
.p3-tile[data-brand="journey"] { --card-accent: #295A74; }
.p3-tile[data-brand="imagination"] { --card-accent: #94536D; }
.p3-tile[data-brand="fosterai"] { --card-accent: #5144A4; }
.p3-tile[data-brand="photography"] img { object-position: 50% 22%; }
.p3-tile[data-brand="wild"] img { object-position: 50% 40%; }
.p3-tile[data-brand="journey"] img { object-position: 50% 58%; }
.p3-tile[data-brand="imagination"] {
  background: #1a1224;
}
.p3-tile[data-brand="imagination"] img { object-position: center center; }
.p3-tile[data-brand="imagination"]::after {
  background: linear-gradient(180deg, rgba(16, 10, 18, 0.05) 18%, rgba(16, 10, 18, 0.62) 58%, rgba(16, 10, 18, 0.94) 100%);
}
.p3-tile[data-brand="fosterai"] img { object-position: 50% 18%; }

.lf-next-block {
  width: min(var(--lf-max-content), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--lf-divider);
}
.lf-next-block h2 { font-size: 2.3rem; margin: 0.4rem 0 1rem; }
.lf-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.lf-next a {
  display: block;
  min-height: 44px;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--lf-paper);
  border-top: 3px solid var(--brand-accent);
  text-decoration: none;
  color: var(--lf-ink);
}
.lf-next b { font-size: 1.05rem; }
.lf-next p { margin: 0.45rem 0 0; color: var(--lf-body); font-size: 0.95rem; }

a.lf-cover {
  display: grid;
  width: min(var(--lf-max-content), calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: 0;
  border-radius: var(--lf-radius-card);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--lf-shadow-card);
}
body.lf-system a.lf-cover picture,
body.lf-system a.lf-cover img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center 62%;
}
a.lf-cover .lf-cover-copy,
a.lf-cover > span {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(16, 10, 18, 0.82));
  color: #fff;
}
body.lf-system a.lf-cover h2,
body.lf-system a.lf-cover span { color: #fff; }

/* Cards, posts, galleries */
.lf-row,
.lf-rcards,
.lf-route-grid,
.lf-eps,
.lf-strip,
.intro-grid,
.lfa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.lf-card,
.lf-rcard,
.lf-route-grid a,
.lf-ep,
.lfa-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--lf-paper);
  color: var(--lf-ink);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  border-top: 3px solid var(--brand-accent);
  min-height: 44px;
}
.lf-card { padding: 0 0 0.9rem; }
body.lf-system .lf-rcard img,
body.lf-system .lf-ep img,
body.lf-system .lfa-card img,
body.lf-system .lf-strip img,
body.lf-system .shot img,
body.lf-system .lf-album-cap img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  display: block;
}
body.lf-system .lf-strip img,
body.lf-system .shot img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
}
/* Portrait fungi files are taller than 4:3. Show the whole frame. */
body.lf-system .lfa-card img[src*="ftw-fungi"],
body.lf-system .lf-album-cap img[src*="ftw-fungi"] {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
  height: auto !important;
  background: var(--brand-surface);
}
body.lf-system .lf-rcard img,
body.lf-system img[src*="great-falls-wide-pano"],
body.lf-system img[src*="bm4-tablet"],
body.lf-system img[src*="lightning-storm"] {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
  background: var(--lf-stone);
}
body.lf-system .lf-strip img {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  height: auto !important;
  background: var(--brand-surface);
}
body.lf-system .lf-ep img {
  aspect-ratio: 16 / 9;
  object-position: center center;
}
.lf-rcard .txt,
.lf-ep span,
.lf-card .name,
.lf-card .line { padding: 0 0.9rem; }
.lf-card .name,
.lf-rcard .ttl,
.lf-route-grid strong { font-family: var(--lf-font-display); font-size: 1.25rem; color: var(--lf-ink); }
.lf-card .line,
.lf-rcard .ex { color: var(--lf-body); font-size: 0.95rem; }
.lf-card .btn { margin: 0.4rem 0.9rem 0; align-self: flex-start; }
/* Partner letter tiles only. The header and footer dusk mark is a picture.lf-mark. */
span.lf-mark {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.lf-card .lf-media { display: none; }
/* Print carousel: horizontal shop row, not a flat text grid. */
.p3-shop .lf-row,
.lf-shophome .lf-row {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}
.p3-shop .lf-card,
.lf-shophome .lf-card {
  flex: 0 0 16.5rem;
  scroll-snap-align: start;
}
.p3-shop .lf-card .lf-media,
.lf-shophome .lf-card .lf-media {
  display: grid;
  place-items: center;
  position: relative;
  height: 8.5rem;
  margin: 0 0 0.6rem;
  background: var(--lf-ink);
}
.p3-shop .lf-mark,
.lf-shophome .lf-mark {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  font-family: var(--lf-font-display);
  font-size: 2.4rem;
  color: var(--lf-gold);
}
.lf-card {
  background: var(--lf-paper);
  border-top: 3px solid var(--lf-copper);
  padding: var(--lf-space-4) 0 var(--lf-space-4);
  box-shadow: var(--lf-shadow-card);
}

.lf-album-cap {
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.lfa-cards,
.lfa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lf-space-4);
}
.lf-album-cap .lfa-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lf-album-note { color: var(--lf-muted); font-size: 0.92rem; }

.lf-char {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.lf-char img {
  width: 100%;
  max-width: 380px;
  border-radius: 1.1rem;
  display: block;
}

.lf-route-grid a { padding: 0.9rem 1rem; background: var(--brand-surface); }

.lf-disc,
.lf-note,
.lf-hint,
.p3-note { color: var(--lf-muted); }

.cta-band {
  /* Same three-stop dusk as the header and footer. */
  background: linear-gradient(135deg, var(--lf-dusk-a) 0%, var(--lf-dusk-b) 55%, var(--lf-dusk-c) 100%);
  color: var(--lf-canvas);
  border-radius: var(--lf-radius-panel);
  padding: 1.35rem 1.25rem;
  width: min(var(--lf-max), calc(100% - 2.5rem));
}
body.lf-system .cta-band h2,
body.lf-system .cta-band p,
body.lf-system .cta-band .script-line { color: #fff; font-family: var(--lf-font-display); font-style: normal; }

input,
textarea,
select {
  font: inherit;
  color: var(--lf-ink);
  background: #fff;
  border: 1px solid var(--lf-divider);
  border-radius: 0.6rem;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  width: min(100%, 28rem);
}

.expedia-search {
  background: var(--brand-surface);
  color: var(--lf-ink);
  border: 1px solid var(--lf-divider);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.expedia-search,
.expedia-search p,
.expedia-search a { color: var(--lf-ink); }

/* One footer. Three-stop dusk, middle stop is the page accent when the page has one. */
.lf-foot {
  background: linear-gradient(135deg, var(--lf-dusk-a) 0%, var(--lf-dusk-b) 55%, var(--lf-dusk-c) 100%);
  color: var(--lf-canvas);
  border-top: 0;
  padding: 1.5rem 0 1.1rem;
}
.lf-foot-in {
  width: min(var(--lf-max-content), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 0.75rem 1.25rem;
  align-items: start;
  text-align: left;
}
.lf-foot a { color: var(--lf-canvas); }
.lf-foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--lf-canvas);
  text-decoration: none;
  font-family: var(--lf-font-display);
  font-size: 1.35rem;
}
.lf-foot .lf-mono,
.lf-foot .lf-mark img {
  width: 3rem;
  height: 3rem;
  background-color: transparent;
}
.lf-foot h2 {
  color: var(--lf-canvas);
  font-size: 1.2rem;
  margin: 0 0 0.2rem;
}
.lf-foot-nav,
.lf-foot-shops,
.lf-foot-legalcol { display: grid; align-content: start; gap: 0.15rem; }
.lf-foot-nav a,
.lf-foot-shops a,
.lf-foot-legalcol a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.lf-foot-social { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.55rem 0 0; padding: 0; }
.lf-foot-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--lf-gold);
  color: var(--lf-gold);
}
.lf-foot-social svg { width: 20px; height: 20px; }
.lf-foot-signup { grid-column: 1 / -1; margin-top: 0.15rem; }
.lf-foot .lf-signup-form { gap: 0.35rem; }
.lf-foot .lf-signup-form > p { margin: 0.15rem 0 0.25rem; }
.lf-foot .lf-notes-status:empty {
  display: none;
  margin: 0;
  min-height: 0;
}
.lf-foot .lf-signup-form input,
.lf-foot .lf-signup-form select { background: var(--lf-paper); color: var(--lf-ink); }
.lf-gap {
  background: var(--brand-surface);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  color: var(--lf-ink);
}

@media (max-width: 1200px) {
  .p3-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lf-home-hero { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .lf-foot-in { grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
}
/* Full nav needs the icons, 16px type, and About on one line.
   Below this width the bar stays 72px and the menu button opens the same links. */
@media (max-width: 1240px) {
  .lf-menu { display: inline-flex; align-items: center; justify-content: center; }
  .lf-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    margin: 0;
    padding: 0.6rem 1rem 1rem;
    background: linear-gradient(180deg, var(--lf-dusk-a) 0%, var(--lf-dusk-b) 55%, var(--lf-dusk-c) 100%);
    border-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .lf-nav a { color: var(--lf-canvas); }
  .lf-nav.is-open { display: flex; }
}
@media (max-width: 760px) {
  .lf-hero { min-height: 0; aspect-ratio: 3 / 2; }
  .p3-tiles,
  .lf-row,
  .lf-rcards,
  .lf-route-grid,
  .lf-next,
  .lfa-cards,
  .lfa-grid,
  .lf-album-cap .lfa-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-home-hero h1 { font-size: 4.3rem; }
  .lf-char { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lf-foot-in { grid-template-columns: 1fr; gap: 0.7rem; }
}
@media (max-width: 490px) {
  .p3-tiles,
  .lf-row,
  .lf-rcards,
  .lf-route-grid,
  .lf-next,
  .lf-eps,
  .lfa-cards,
  .lfa-grid,
  .lf-album-cap .lfa-cards { grid-template-columns: 1fr; }
  .lf-home-hero { width: calc(100% - 2rem); }
  .lf-home-hero h1 { font-size: 3.5rem; }
  .p3-tiles { width: calc(100% - 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Banner heroes keep the artwork whole. The headline sits on the canvas under it. */
body.lf-system .lf-hero:has(img.lf-brand-banner) {
  display: block;
  min-height: 0;
  aspect-ratio: auto;
  background: var(--brand-surface);
  color: var(--lf-ink);
  box-shadow: none;
}
body.lf-system .lf-hero:has(img.lf-brand-banner) .lf-hero-media {
  position: relative;
  inset: auto;
  background: var(--brand-surface);
}
body.lf-system .lf-hero:has(img.lf-brand-banner) .lf-hero-media img {
  position: relative;
  inset: auto;
  width: 100% !important;
  height: auto !important;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: var(--brand-surface);
}
body.lf-system .lf-hero:has(img.lf-brand-banner) .lf-hero-shade { display: none; }
body.lf-system .lf-hero:has(img.lf-brand-banner) .lf-hero-copy {
  width: min(46rem, calc(100% - 2rem));
  margin: var(--lf-space-8) auto var(--lf-space-8);
}
body.lf-system .lf-hero:has(img.lf-brand-banner) h1,
body.lf-system .lf-hero:has(img.lf-brand-banner) h2,
body.lf-system .lf-hero:has(img.lf-brand-banner) p,
body.lf-system .lf-hero:has(img.lf-brand-banner) .lf-eyebrow {
  color: var(--lf-ink);
}
body.lf-system .lf-hero:has(img.lf-brand-banner) .lf-eyebrow { color: var(--brand-text); }

body.lf-system .lf-hubposts,
body.lf-system #latest-posts {
  width: min(var(--lf-max-content), calc(100% - 2rem));
  margin-inline: auto;
  padding: var(--lf-space-8) 0;
}
body.lf-system .wrap > p,
body.lf-system .lf-dek,
body.lf-system .dek {
  font-size: 1.125rem;
  line-height: 1.65;
}
body.lf-system[data-brand="studio"] .section-kicker,
body.lf-system[data-brand="studio"] .p3-kicker,
body.lf-system[data-brand="studio"] .lf-kicker {
  color: var(--lf-copper);
}
body.lf-system main .section,
body.lf-system main .p3-sec {
  background: var(--brand-surface);
}
body.lf-system[data-brand="fosterai"] .lf-tool .lf-status,
body.lf-system[data-brand="fosterai"] .lf-tool h3 {
  font-family: var(--lf-font-mono);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.lf-signup-form {
  display: grid;
  gap: var(--lf-space-3);
  max-width: 42rem;
}
.lf-interests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: var(--lf-space-2) var(--lf-space-4);
  border: 0;
  margin: 0;
  padding: 0;
}
.lf-interests label,
.lf-purchase {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}
.lf-interests input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin: 0;
}
.lf-signup-form input[type="email"],
.lf-signup-form select { width: min(100%, 28rem); }
.lf-privacy { font-size: 0.95rem; }

.expedia-search-frame,
body.lf-system .eg-widget,
body.lf-system .eg-search-widget-frame,
body.lf-system iframe.eg-widget-frame,
body.lf-system iframe.eg-search-widget-frame {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 360px;
}
.expedia-search-fallback { display: none; }
[data-expedia-search].is-unavailable .expedia-search-fallback { display: block; }
[data-expedia-search].is-ready .expedia-search-fallback { display: none; }

body.lf-system .lf-foot,
body.lf-system .lf-foot p,
body.lf-system .lf-foot h2,
body.lf-system .lf-foot a { color: var(--lf-canvas); }
body.lf-system .lf-foot h2 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin: 0 0 var(--lf-space-2);
}
body.lf-system .lf-foot .p3-btn,
body.lf-system .lf-foot button { color: #fff; }

/* Type hierarchy. Fraunces display with optical size, DM Sans at 18px, italic eyebrows. */
body.lf-system {
  font-family: var(--lf-font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-synthesis: none;
}
body.lf-system h1,
body.lf-system h2,
body.lf-system h3,
body.lf-system .lf-display {
  font-family: var(--lf-font-display);
  font-optical-sizing: auto;
  font-style: normal;
}
body.lf-system h1 { font-weight: 300; }
body.lf-system h2 { font-weight: 500; }
body.lf-system h3 { font-weight: 560; }
body.lf-system main p,
body.lf-system main li,
body.lf-system .post-body,
body.lf-system .post-body p,
body.lf-system .post-body li,
body.lf-system .dek,
body.lf-system .lf-dek,
body.lf-system .p3-dek,
body.lf-system .lf-lead,
body.lf-system .blog-card p,
body.lf-system .prose p,
body.lf-system .legal p {
  font-family: var(--lf-font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}
body.lf-system .post-body,
body.lf-system .prose,
body.lf-system .legal,
body.lf-system .lf-lead,
body.lf-system .lf-dek { max-width: 65ch; }
body.lf-system .lf-eyebrow,
body.lf-system .p3-kicker,
body.lf-system .section-kicker,
body.lf-system .lf-kicker,
body.lf-system .eyebrow {
  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;
}
/* A card or article paragraph rule is more specific than .eyebrow alone. */
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-size: 1.2rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-optical-sizing: auto;
  line-height: 1.3;
}
body.lf-system .price,
body.lf-system .price-value,
body.lf-system .lf-price {
  font-family: var(--lf-font-mono);
  font-weight: 400;
  font-style: normal;
}
body.lf-system time,
body.lf-system .post-meta {
  font-family: var(--lf-font-body);
  font-size: 0.92rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  color: var(--lf-muted);
}
/* Category labels are kit eyebrows: Fraunces italic. Dates stay DM Sans. */
body.lf-system .lf-cat,
body.lf-system .lf-rcard .cat {
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--brand-text);
}
body.lf-system .post-body blockquote:not(.lf-takeaways) {
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--lf-ink);
  border-left: 3px solid var(--lf-copper);
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  max-width: 42rem;
}
body.lf-system .lf-logo,
body.lf-system .lf-logo span { color: var(--lf-canvas); }
body.lf-system .lf-nav a { color: var(--lf-canvas); font-size: 1rem; }
body.lf-system .lf-nav a[aria-current="page"] {
  color: var(--nav-accent, var(--lf-ink));
}
body.lf-system .lf-nav a:hover:not([aria-current="page"]) {
  box-shadow: inset 0 -3px 0 var(--lf-gold);
}
body.lf-system .kp-buy,
body.lf-system .lf-shop-go,
body.lf-system[data-brand="shop"] a.p3-btn {
  background: var(--lf-gold);
  color: var(--lf-ink);
}
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;
}

/* Header and footer dusk mark. A later span.lf-mark rule hides partner letters only. */
.lf-logo picture.lf-mark,
.lf-foot-brand picture.lf-mark {
  position: static;
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  overflow: visible;
  clip: auto;
  line-height: 0;
}
.lf-logo picture.lf-mark img,
.lf-foot-brand picture.lf-mark img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.lf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.lf-chips button {
  appearance: none;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 2px solid #2B1B4A;
  background: transparent;
  color: #2E2140;
  font-family: var(--lf-font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.lf-chips button[aria-pressed="true"] {
  background: #2B1B4A;
  color: #FBF5EF;
  border-color: transparent;
}
body.lf-system .blog-card.is-hidden { display: none; }
.lf-foot .lf-notes-status { color: var(--lf-canvas); min-height: 1.2em; }

/* Journal posts keep lf-core, which turns every main link into a 48px flex item.
   That drops a long breadcrumb title onto its own row. Let the trail wrap as text. */
body.lf-system .crumbs {
  display: block;
  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;
}

/* Signup honeypot. Journal posts load this sheet and not the page sheet. */
.honey { display: none; }

/* Homepage about sits last in main, just above the footer. */
main > a.lf-cover { margin-bottom: 0; }
.lf-home-about {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: 1.25rem 2rem;
  align-items: start;
  padding: 2.25rem 0;
  margin: 0 auto;
  border-top: 3px solid var(--brand-accent);
}
.lf-home-about .p3-about-img {
  width: min(100%, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--lf-canvas), 0 0 0 6px var(--lf-gold);
}
.lf-home-about .p3-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lf-home-about h2 { margin: 0.15rem 0 0.7rem; }
.lf-home-about p { margin: 0 0 0.8rem; max-width: 40rem; }
.lf-brands {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.lf-brands li {
  background: var(--lf-paper);
  border-left: 3px solid var(--lf-copper);
  border-radius: 0.6rem;
  padding: 0.45rem 0.75rem;
}
.lf-home-about .p3-btn { margin: 0.2rem 0.45rem 0.2rem 0; }
@media (max-width: 700px) {
  .lf-home-about {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 2rem 0;
  }
}

/* Journal cards with no topic photograph. Kit dusk, Fraunces title. */
body.lf-system a.blog-thumb.lf-topic-tile,
body.lf-system .lf-rcard .lf-topic-tile {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 2;
  padding: 0.85rem 1rem;
  background: linear-gradient(145deg, #2B1B4A 0%, #5B2A5E 58%, #B8503E 100%);
  text-decoration: none;
}
body.lf-system a.blog-thumb.lf-topic-tile span,
body.lf-system .lf-rcard .lf-topic-tile span {
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 520;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-size: 1.4rem;
  line-height: 1.15;
  color: #FBF5EF;
  letter-spacing: 0.01em;
}

/* Photography landing: a short title, then the galleries. */
body.lf-system .lf-photo-lead { padding: 1rem 0 0.2rem; }
body.lf-system .lf-photo-lead h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0.1rem 0 0.2rem;
  max-width: none;
}

/* Each gallery photo keeps its own frame. Columns, not a shared 4:3 crop. */
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;
  grid-template-columns: none;
}
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-wide,
body.lf-system .lfa-tall { grid-column: auto; grid-row: auto; }
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-card > span {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.55rem 0.75rem 0.7rem;
}
body.lf-system .lfa-card strong {
  font-family: var(--lf-font-display);
  font-weight: 500;
  font-size: 1.2rem;
}
body.lf-system .lfa-card em {
  color: var(--lf-muted);
  font-size: 0.85rem;
  font-style: italic;
}
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; }
}

/* Compact own-shop tiles. Six print shops, so two columns at 390 have no leftover card. */
body.lf-system .lf-shopstrip { padding: 1.15rem 0 0.4rem; }
body.lf-system .lf-shopstrip h2 {
  margin: 0 0 0.2rem;
  font-family: var(--lf-font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}
body.lf-system .lf-shopstrip > p { margin: 0 0 0.8rem; max-width: 40rem; }
body.lf-system .lf-shop-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}
body.lf-system a.lf-shop-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 8.6rem;
  padding: 0.8rem 0.75rem 0.7rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: #FBF5EF;
  background: linear-gradient(155deg, #2B1B4A 0%, #5B2A5E 55%, #8C4038 100%);
}
body.lf-system a.lf-shop-tile:hover,
body.lf-system a.lf-shop-tile:focus-visible {
  outline: 2px solid var(--lf-copper);
  outline-offset: 3px;
}
body.lf-system .lf-shop-ico { width: 1.85rem; height: 1.85rem; color: var(--lf-gold); }
body.lf-system .lf-shop-ico svg { display: block; width: 100%; height: 100%; }
body.lf-system .lf-shop-name {
  font-family: var(--lf-font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.15;
  color: #FBF5EF;
}
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;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.lf-system .lf-shop-note { margin: 0.75rem 0 0; color: var(--lf-muted); font-size: 0.92rem; }
body.lf-system .lf-shop-note a { color: var(--brand-text); }
@media (max-width: 980px) {
  body.lf-system .lf-shop-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body.lf-system .lf-shop-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
