/* Powder Finder's shared frame; page content retains its existing data contracts. */
:root {
    --pf-product-bg: #f6f8fa;
    --pf-product-surface: #ffffff;
    --pf-product-ink: #14232e;
    --pf-product-muted: #526778;
    --pf-product-line: #dce5eb;
    --pf-product-accent: #127a9e;
    --pf-product-header: rgba(246, 248, 250, .97);
    --pf-product-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pf-header-height: 73px;
}
[data-theme="dark"] {
    --pf-product-bg: #080f16;
    --pf-product-surface: #101b25;
    --pf-product-ink: #f0f6fa;
    --pf-product-muted: #a6b8c7;
    --pf-product-line: #273742;
    --pf-product-accent: #66d0f2;
    --pf-product-header: rgba(8, 15, 22, .97);
}
@media (prefers-color-scheme: dark) {
    [data-theme="system"] {
        --pf-product-bg: #080f16;
        --pf-product-surface: #101b25;
        --pf-product-ink: #f0f6fa;
        --pf-product-muted: #a6b8c7;
        --pf-product-line: #273742;
        --pf-product-accent: #66d0f2;
        --pf-product-header: rgba(8, 15, 22, .97);
    }
}
body.pf-product { padding-top: 0; }
body.pf-product > header:not(.pf-site-header),
body.pf-product > .mobile-nav { display: none !important; }
header.pf-site-header {
    position: sticky; top: 0; z-index: 1900; height: auto;
    background: var(--pf-product-header); color: var(--pf-product-ink);
    border-bottom: 1px solid var(--pf-product-line); box-shadow: none;
    font-family: var(--pf-product-font); backdrop-filter: blur(12px);
}
.pf-site-header-inner {
    display: flex; align-items: center; flex-wrap: wrap; gap: 26px;
    width: min(1440px, 100%); min-height: 72px; margin: auto; padding: 12px 32px;
    box-sizing: border-box;
}
header.pf-site-header a { color: var(--pf-product-ink); text-decoration: none; }
.pf-site-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.pf-site-brand img { display: block; width: 40px; height: 40px; flex: none; }
.pf-footer-brand { color: inherit; text-decoration: none; }
.pf-site-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; max-width: 100%; }
.pf-site-navigation a { font-size: 14px; font-weight: 600; white-space: nowrap; padding: 8px 0; }
header.pf-site-header a[aria-current="page"] { color: var(--pf-product-accent); }
.pf-site-header a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pf-site-search { display: flex; margin: 0 0 0 auto; gap: 6px; min-width: 0; }
.pf-site-search input {
    width: 180px; min-width: 0; padding: 9px 10px; border: 1px solid var(--pf-product-line);
    border-radius: 4px; background: var(--pf-product-surface); color: var(--pf-product-ink); font: inherit; font-size: 14px;
}
.pf-site-search button, .pf-site-theme, .pf-site-units {
    background: none; color: inherit; border: 0; padding: 8px; font: inherit; cursor: pointer;
    min-height: 44px;
}
.pf-site-search button { font-size: 13px; }
.pf-site-controls { display: flex; align-items: center; gap: 12px; }
.pf-site-account { font-size: 14px; font-weight: 600; white-space: nowrap; }
.pf-site-theme { font-size: 22px; min-width: 44px; }
.pf-site-units { white-space: nowrap; font-size: 12px; font-weight: 600; padding-inline: 0; }
.pf-site-menu { display: none; position: relative; }
.pf-site-menu summary { cursor: pointer; padding: 10px 0 10px 10px; font-size: 14px; min-width: 44px; min-height: 44px; box-sizing: border-box; }
.pf-site-menu nav {
    position: absolute; right: 0; top: calc(100% + 12px); display: flex; flex-direction: column;
    min-width: 210px; padding: 12px; background: var(--pf-product-surface); color: var(--pf-product-ink);
    border: 1px solid var(--pf-product-line); box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
}
.pf-site-menu nav a { padding: 12px; font-size: 15px; }
.pf-site-dock { display: none; }
.pf-site-header :focus-visible, .pf-site-dock :focus-visible {
    outline: 2px solid var(--pf-product-accent); outline-offset: 4px;
}
.pf-product .resort-subnav { top: var(--pf-header-height); }
.pf-product section[id] { scroll-margin-top: calc(var(--pf-header-height) + 72px); }
.pf-product-page { margin: 0; background: var(--pf-product-bg); color: var(--pf-product-ink); font-family: var(--pf-product-font); }
.pf-page-wrap { max-width: 1320px; margin: auto; padding: 52px 32px 80px; }
.pf-page-eyebrow { color: var(--pf-product-accent); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.pf-page-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.045em; margin: 16px 0; }
.pf-page-lede { color: var(--pf-product-muted); max-width: 650px; line-height: 1.65; }
.pf-page-link { color: var(--pf-product-accent); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.pf-page-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border: 1px solid var(--pf-product-line); border-radius: 4px;
    background: var(--pf-product-ink); color: var(--pf-product-bg); font: inherit; font-weight: 650;
    text-decoration: none; cursor: pointer;
}
.pf-page-section { border-top: 1px solid var(--pf-product-line); padding: 32px 0; margin-top: 30px; }
.pf-page-section h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.035em; }
.pf-page-section p { line-height: 1.6; }
.pf-page-muted { color: var(--pf-product-muted); }
.pf-home-agents {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 40px auto 0; max-width: 1440px;
    color: var(--pf-product-ink); background: var(--pf-product-bg);
}
.pf-home-agents-photo img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; display: block; }
.pf-home-agents-copy { padding: 65px 55px; align-self: center; }
.pf-home-agents-copy h2 { font-family: var(--pf-product-font); font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: -.05em; margin: 20px 0; }
.pf-home-agents-copy p { color: var(--pf-product-muted); line-height: 1.6; margin-bottom: 24px; }
.pf-home-agents-copy .pf-page-link { display: inline-block; margin: 16px; }
.pf-home-agents-copy .pf-home-agents-note { font-size: 13px; margin-top: 20px; margin-bottom: 0; }
@media (max-width: 1150px) {
    .pf-site-header-inner { gap: 20px; padding-inline: 24px; }
    .pf-site-search input { width: 140px; }
    .pf-site-navigation { gap: 15px; }
    .pf-site-search button { display: none; }
}
@media (max-width: 900px) {
    .pf-site-navigation { display: none; }
    .pf-site-menu { display: block; }
    .pf-site-header-inner { gap: 16px; }
    .pf-home-agents-copy { padding: 36px; }
}
@media (max-width: 600px) {
    .pf-site-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; min-height: 64px; padding: 10px 16px; gap: 8px; }
    .pf-site-brand { font-size: 19px; margin-right: 0; }
    .pf-site-brand img { width: 32px; height: 32px; }
    .pf-site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
    .pf-site-search input { width: 100%; padding: 10px; font-size: 16px; }
    .pf-site-search button { display: block; font-size: 14px; }
    .pf-site-controls { gap: 6px; }
    .pf-site-account { display: none; }
    .pf-site-theme { padding: 8px 4px; }
    .pf-site-menu { position: static; grid-column: 3; grid-row: 1; }
    .pf-site-menu summary { padding-left: 4px; }
    .pf-site-menu nav { top: 100%; right: 16px; width: min(250px, calc(100vw - 32px)); min-width: 0; box-sizing: border-box; max-height: calc(100dvh - var(--pf-header-height) - 72px); overflow-y: auto; }
    body.pf-product { padding-bottom: 72px; }
    .pf-site-dock {
        display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 1800; justify-content: space-around;
        background: var(--pf-product-header); border-top: 1px solid var(--pf-product-line);
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); font-family: var(--pf-product-font);
    }
    .pf-site-dock a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 10px 8px; font-size: 13px; text-decoration: none; color: var(--pf-product-ink); }
    .pf-site-dock a[aria-current="page"] { color: var(--pf-product-accent); }
    .pf-product .resort-mobile-dock { bottom: 61px; }
    .pf-page-wrap { padding: 32px 20px 52px; }
    .pf-home-agents { grid-template-columns: 1fr; }
    .pf-home-agents-photo img { min-height: 0; height: 230px; }
    .pf-home-agents-copy { padding: 36px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-product, .pf-product *, .pf-product *::before, .pf-product *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
/* Carry the same type, palette and quiet separators through the field guides. */
body.pf-product:not(.page-home) {
    --font-serif: var(--pf-product-font);
    --text-primary: var(--pf-product-ink);
    --text-secondary: var(--pf-product-muted);
    --text-muted: var(--pf-product-muted);
    --text-on-glass: var(--pf-product-ink);
    --bg-body: var(--pf-product-bg);
    --glass-bg: var(--pf-product-surface);
    --card-divider: var(--pf-product-line);
    --color-gold: var(--pf-product-accent);
    background: var(--pf-product-bg);
    color: var(--pf-product-ink);
}
body.pf-product.page-hierarchy {
    --atlas-ink: var(--pf-product-ink);
    --atlas-blue: var(--pf-product-accent);
    --atlas-line: var(--pf-product-line);
    --atlas-navy: var(--pf-product-ink);
}
body.pf-product.page-hierarchy .hierarchy-page { margin-top: 0; }
body.pf-product.page-hierarchy .geography-hero { border-radius: 4px; box-shadow: none; }
body.pf-product.page-hierarchy .geography-hero .page-title,
body.pf-product.page-hierarchy .atlas-stats strong,
body.pf-product.page-hierarchy .hero-trust-panel strong,
body.pf-product.page-hierarchy .hero-parent-link strong,
body.pf-product.page-hierarchy .resort-card-name,
body.pf-product.page-hierarchy .resort-card-meta > span,
body.pf-product.page-hierarchy .powder-badge { font-family: var(--pf-product-font); font-weight: 700; }
body.pf-product.page-hierarchy .hero-trust-panel,
body.pf-product.page-hierarchy .hero-parent-link { border-radius: 0; border-width: 0 0 0 1px; background: none; box-shadow: none; backdrop-filter: none; }
body.pf-product.page-hierarchy .atlas-resort-card { border-radius: 3px; box-shadow: none; background: var(--pf-product-surface); }
body.pf-product.page-hierarchy .resort-grid.is-list .atlas-resort-card { display: block; min-height: 0; border-width: 0 0 1px; border-radius: 0; background: none; transform: none; }
body.pf-product.page-hierarchy .resort-grid.is-list .resort-card-image { display: none; }
body.pf-product.page-hierarchy .resort-grid.is-list .resort-card-content { padding: 24px 0; }
body.pf-product.page-hierarchy .hierarchy-breadcrumbs,
body.pf-product.page-hierarchy .hierarchy-breadcrumbs a,
body.pf-product.page-hierarchy .hierarchy-breadcrumbs .current,
body.pf-product.page-hierarchy .resort-location { color: var(--pf-product-muted); }
body.pf-product.page-hierarchy .trust-explainer { background: var(--pf-product-surface); color: var(--pf-product-ink); border-color: var(--pf-product-line); border-radius: 0; box-shadow: none; }
body.pf-product.page-hierarchy .trust-explainer p { color: var(--pf-product-muted); }
body.pf-product.page-resort .detail-card,
body.pf-product.page-resort .score-proof-card,
body.pf-product.page-resort .nearby-card { padding-inline: 0; border-width: 1px 0 0; border-color: var(--pf-product-line); border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
body.pf-product.page-resort .nearby-card:hover { transform: none; box-shadow: none; }
body.pf-product.page-resort .resort-subnav { background: var(--pf-product-header); border-color: var(--pf-product-line); }
body.pf-product.page-resort .resort-subnav a { color: var(--pf-product-muted); }
body.pf-product.page-resort .resort-subnav a:hover { color: var(--pf-product-accent); }
body.pf-product.page-resort .condition-card,
body.pf-product.page-resort .forecast-day { background: var(--pf-product-surface); border-color: var(--pf-product-line); border-radius: 3px; }
body.pf-product.page-resorts .page-content { margin-top: 0; }
body.pf-product.page-resort .resort-planning-banner { background: var(--pf-product-surface); color: var(--pf-product-ink); border-color: var(--pf-product-line); }
