/* Guide discovery: editorial imagery, readable lists, and generous spacing. */
.guide-hub { --gh-warm: #f7f5f0; --gh-accent: #816344; }
.guide-hub [hidden] { display: none !important; }
.guide-hub button, .guide-hub input { font: inherit; }
.guide-hub button { color: inherit; }
.guide-hub input:focus-visible { outline: 3px solid #aa8157; outline-offset: 4px; }
.guide-hub .eyebrow, .gh-label { color: var(--gh-accent); }
.gh-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: 68px 58px; }
.gh-hero h1 { font-size: clamp(3.25rem, 5.5vw, 5.4rem); line-height: 1.04; margin: 19px 0 22px; letter-spacing: -.045em; }
.gh-hero h1 em { color: #51686e; }
.gh-deck { max-width: 30rem; font-size: 1.125rem; line-height: 1.7; color: #52636a; }
.gh-search-panel { padding: 32px; background: var(--gh-warm); border-top: 3px solid #a98b65; min-width: 0; }
.gh-search-heading { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; margin-bottom: 21px; }
.gh-search-panel label { display: block; font-size: .875rem; margin-bottom: 9px; color: #4d6068; }
.gh-search-field { display: flex; align-items: stretch; background: white; border: 1px solid #a9b5b7; }
.gh-search-field:focus-within { border-color: #816344; }
.gh-search-field input { min-width: 0; flex: 1; width: 100%; border: 0; border-radius: 0; background: transparent; color: var(--ink); padding: 15px 14px; font-size: 1rem; line-height: 1.5; }
.gh-search-field input::placeholder { color: #657078; opacity: 1; }
.gh-search-field button { flex: 0 0 52px; display: grid; place-items: center; border: 0; background: var(--ink); color: white; }
.gh-search-field button:hover { background: #304c59; }
.gh-suggestions { display: flex; flex-wrap: wrap; gap: 0 13px; align-items: center; font-size: .8125rem; margin-top: 8px; }
.gh-suggestions > span { color: #53636b; }
.gh-suggestions button { padding: 7px 0; min-height: 44px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.gh-browse-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; font-size: .875rem; margin-top: 7px; }
.gh-heading { margin-bottom: 28px; }
.gh-heading .eyebrow { margin-bottom: 12px; }
.gh-heading h2 { font-size: clamp(2rem, 3.1vw, 3rem); }
.gh-heading > p:not(.eyebrow) { color: #586b72; margin-top: 15px; }
.gh-heading-inline { display: flex; gap: 24px; align-items: end; justify-content: space-between; }
.gh-heading-inline > p { max-width: 17rem; font-size: .9375rem; }
.gh-start { padding: 36px 0 54px; border-top: 1px solid var(--line); }
.gh-start-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.gh-start-links > a { position: relative; padding: 18px 24px 0 0; border-top: 1px solid #b5c2c4; }
.gh-step { display: block; color: #816344; font-size: .75rem; letter-spacing: .08em; margin-bottom: 12px; }
.gh-start-links h3 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; margin-bottom: 8px; }
.gh-start-links p { color: #5e6c71; font-size: .9375rem; line-height: 1.65; }
.gh-start-links > a > span:last-child { position: absolute; top: 13px; right: 0; font-size: 1.25rem; }
.gh-start-links a:hover h3, .gh-story a:hover h3, .gh-guide a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.gh-featured { padding: 34px 0 56px; }
.gh-stories { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; }
.gh-story { min-width: 0; }
.gh-story > a { display: block; height: 100%; }
.gh-story img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.gh-story-copy { padding-top: 20px; }
.gh-label { display: block; font-size: .6875rem; font-weight: 600; line-height: 1.6; text-transform: uppercase; letter-spacing: .13em; }
.gh-story h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.22; letter-spacing: -.025em; margin: 8px 0 12px; }
.gh-story-copy > p:not(.gh-label) { font-size: .9375rem; line-height: 1.7; color: #586b72; }
.gh-read { display: inline-flex; align-items: center; gap: 18px; margin-top: 17px; font-size: .875rem; font-weight: 600; min-height: 32px; }
.gh-art-note { margin-top: 20px; font-size: .75rem; color: #69767b; }
.gh-browser { padding: 48px 0 54px; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.gh-anchor { display: block; height: 0; scroll-margin-top: 28px; }
.gh-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; }
.gh-filters button { border: 1px solid #bfc9cb; background: #fff; border-radius: 3px; min-height: 44px; padding: 10px 15px; font-size: .875rem; line-height: 1.45; }
.gh-filters button:hover { background: #eef2f2; border-color: #7b9099; }
.gh-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gh-result-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-bottom: 10px; }
.gh-result-tools p { color: #596b72; font-size: .875rem; overflow-wrap: anywhere; }
.gh-result-tools button { background: transparent; border: 0; min-height: 44px; padding: 8px 0; font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; flex-shrink: 0; }
.gh-results, .gh-catalog ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 42px; list-style: none; margin: 0; padding: 0; }
.gh-guide { min-width: 0; border-top: 1px solid var(--line); }
.gh-guide a { display: block; padding: 24px 25px 26px 0; height: 100%; position: relative; }
.gh-guide h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; margin: 6px 0 8px; }
.gh-guide p { font-size: .9375rem; line-height: 1.65; color: #5a6b73; }
.gh-arrow { position: absolute; right: 0; top: 22px; font-size: 1.3rem; }
.gh-more { text-align: center; }
.gh-more button { min-height: 48px; padding: 12px 26px; margin-top: 22px; background: #fff; border: 1px solid #94a7ae; font-size: .9375rem; }
.gh-more button:hover { background: var(--gh-warm); }
.gh-no-results { padding: 35px; background: var(--gh-warm); }
.gh-no-results h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.gh-no-results p { max-width: 40rem; color: #586970; }
.gh-catalog { border-top: 1px solid var(--line); }
.gh-catalog:last-child { border-bottom: 1px solid var(--line); }
.gh-catalog summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; }
.gh-catalog summary strong { display: block; font-size: 1.1rem; }
.gh-catalog summary > span > span { font-size: .875rem; color: #5b6c74; display: block; margin-top: 4px; }
.gh-expand { font-size: 1.5rem; }
.gh-catalog[open] .gh-expand { transform: rotate(45deg); }
.gh-collections { padding: 42px 0 64px; border-top: 1px solid var(--line); }
.gh-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 40px; }
.gh-collection { padding-top: 22px; border-top: 2px solid #cfb99a; min-width: 0; }
.gh-collection h3 { font-family: var(--serif); font-size: 1.55rem; margin: 8px 0 13px; line-height: 1.25; }
.gh-collection ul, .gh-resources ul { list-style: none; padding: 0; margin: 0; }
.gh-collection li a, .gh-resources li a { display: flex; align-items: start; justify-content: space-between; gap: 16px; min-height: 44px; padding: 11px 0; font-size: .875rem; line-height: 1.6; border-bottom: 1px solid var(--line); }
.gh-collection a:hover, .gh-resources a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gh-collection a > span, .gh-resources a > span { flex: 0 0 auto; }
.gh-text-link { display: inline-flex; gap: 14px; align-items: center; font-weight: 600; font-size: .875rem; min-height: 44px; margin-top: 13px; }
.gh-quote { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; background: var(--dark); color: #fff; padding: 44px; }
.gh-quote .eyebrow { color: #d9be98; margin-bottom: 15px; }
.gh-quote h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.gh-quote p:not(.eyebrow) { margin-top: 15px; color: #e0e7e9; max-width: 39rem; }
.gh-quote .gh-quote-note { font-size: .8125rem; line-height: 1.65; color: #c6d2d7; }
.gh-quote .button { background: white; color: var(--ink); font-weight: 600; min-height: 54px; gap: 24px; white-space: nowrap; }
.gh-quote .button:hover { background: #ecf0ee; }
.gh-resources { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 64px 0 48px; }
.gh-resources h2 { font-size: 2rem; margin-top: 14px; }
.gh-method { padding: 24px 0 44px; border-top: 1px solid var(--line); color: #586b72; font-size: .8125rem; line-height: 1.8; }
.gh-method a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1050px) {
  .gh-hero { gap: 32px; }
  .gh-search-panel { padding: 24px; }
  .gh-start-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
  .gh-stories { gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-collection-grid { gap: 32px 26px; }
  .gh-quote { padding: 34px; gap: 26px; grid-template-columns: 1fr; }
  .gh-quote .button { justify-self: start; }
}
@media (max-width: 760px) {
  .gh-hero { grid-template-columns: 1fr; padding-block: 38px; gap: 30px; }
  .gh-hero h1 { font-size: clamp(3.1rem, 9vw, 4.5rem); }
  .gh-search-panel { padding: 24px; }
  .gh-search-heading { font-size: 1.5rem; margin-bottom: 16px; }
  .gh-start { padding-block: 30px 36px; }
  .gh-featured { padding-block: 24px 38px; }
  .gh-heading-inline { display: block; }
  .gh-heading-inline > p { margin-top: 16px; max-width: none; }
  .gh-stories { grid-template-columns: 1fr; gap: 30px; }
  .gh-story > a { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .gh-story img { aspect-ratio: 4 / 3; }
  .gh-story-copy { padding: 0; }
  .gh-story h3 { font-size: 1.5rem; }
  .gh-browser { padding-block: 36px; }
  .gh-results { gap: 0 24px; }
  .gh-guide h3 { font-size: 1.0625rem; }
  .gh-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-resources { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; }
}
@media (max-width: 520px) {
  .gh-hero .eyebrow { letter-spacing: .12em; font-size: .6875rem; }
  .gh-deck { font-size: 1.0625rem; }
  .gh-search-panel { padding: 22px 18px; }
  .gh-search-field input { padding-inline: 11px; }
  .gh-start-links { grid-template-columns: 1fr; gap: 22px; }
  .gh-start-links > a { padding-left: 35px; }
  .gh-step { position: absolute; left: 0; top: 19px; }
  .gh-story > a { display: block; }
  .gh-story img { aspect-ratio: 16 / 9; }
  .gh-story-copy { padding-top: 18px; }
  .gh-story h3 { font-size: 1.65rem; }
  .gh-filters { gap: 7px; }
  .gh-filters button { padding-inline: 12px; font-size: .8125rem; }
  .gh-results, .gh-catalog ul { grid-template-columns: 1fr; }
  .gh-result-tools { align-items: start; flex-direction: column; gap: 0; padding-bottom: 9px; }
  .gh-guide h3 { font-size: 1.125rem; }
  .gh-guide a { padding-block: 22px; }
  .gh-collection-grid { grid-template-columns: 1fr; gap: 30px; }
  .gh-collections { padding-block: 32px 42px; }
  .gh-quote { padding: 30px 24px; }
  .gh-quote .button { white-space: normal; width: 100%; padding-inline: 17px; gap: 12px; }
  .gh-no-results { padding: 24px; }
}
