/* Site layout; the existing auction/member component styles remain independent. */
.ys-site .ys-global-header{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding-block:20px}
.ys-global-header>.ys-wordmark{grid-column:1;grid-row:1}
.ys-site .ys-global-header .ys-logo{width:190px}
.ys-member-nav{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:18px;font-size:.875rem;min-width:0}
.ys-member-nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none;gap:6px}
.ys-member-name{max-width:10em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ys-global-menu{grid-column:2;grid-row:1;min-width:0}
.ys-global-menu>summary{display:none}
.ys-global-menu:not([open])>nav{display:flex}
.ys-global-menu>nav{display:flex;align-items:center;justify-content:center;gap:22px;font-size:.875rem}
.ys-global-menu a{text-decoration:none;line-height:1.5}
.ys-global-menu .ys-mobile-name{display:none}
.ys-member-nav .ys-menu-logout{font-size:.75rem;color:var(--ys-muted);white-space:nowrap}
.ys-site a.ys-shell-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border-radius:4px;background:var(--ys-brand);color:var(--ys-paper);font-weight:600;text-decoration:none;line-height:1.5}
.ys-site a.ys-shell-button:hover{background:var(--ys-brand-hover)}
.ys-notice-link{position:relative;white-space:nowrap}
.ys-notice-badge{min-width:22px;height:22px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--ys-danger);color:#fff;font-size:.75rem;font-weight:700;line-height:1}
.ys-home section[id]{scroll-margin-top:24px}
.ys-home>.ys-preview{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.75rem;color:var(--ys-muted);padding-block:8px}
.ys-home>.ys-preview strong{color:var(--ys-ink)}
.ys-home-intro{display:grid;grid-template-columns:1.25fr 1fr;gap:36px;align-items:center;padding:24px 0 28px}
.ys-site .ys-home-intro h1{font-size:clamp(2rem,3.6vw,3rem);line-height:1.4;font-weight:700;letter-spacing:.015em;margin:0}
.ys-home-intro p{margin:0 0 24px;line-height:2;color:var(--ys-muted)}
.ys-home-section{padding-block:28px}
.ys-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px 24px;margin-bottom:24px}
.ys-site .ys-home h2{font-size:1.6rem;font-weight:600;line-height:1.6;margin:0}
.ys-section-heading p{font-size:.875rem;color:var(--ys-muted);margin:0}
.ys-section-heading>a{font-size:.875rem;flex-shrink:0}
.ys-team-directory{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,160px));gap:28px 24px}
.ys-site .ys-directory-team{display:flex;flex-direction:column;gap:12px;color:var(--ys-ink);text-decoration:none;min-width:0;text-align:center}
.ys-site .ys-directory-team:hover h3{text-decoration:underline;text-underline-offset:4px}
.ys-directory-logo{width:100%;aspect-ratio:1;display:grid;place-items:center;background:var(--ys-surface);border-radius:0;overflow:hidden}
.ys-directory-logo img{width:100%;height:100%;object-fit:contain}
.ys-directory-logo>span{font-size:3rem;font-weight:600;color:var(--ys-brand)}
.ys-site .ys-directory-team h3{font-size:1rem;font-weight:600;margin:0;line-height:1.6;overflow-wrap:anywhere;text-wrap:balance}
.ys-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ys-site .ys-project-card{text-decoration:none;color:var(--ys-ink);border:1px solid var(--ys-divider-decorative);border-radius:4px;overflow:hidden;display:flex;flex-direction:column;padding:24px;min-width:0}
.ys-project-heading{display:grid;grid-template-columns:128px minmax(0,1fr);gap:20px;align-items:start}
.ys-project-card:hover{border-color:var(--ys-brand)}
.ys-project-card:hover h3{text-decoration:underline;text-underline-offset:4px}
.ys-site .ys-project-card:focus-visible{outline:3px solid var(--ys-brand);outline-offset:4px}
.ys-project-image{aspect-ratio:4/3;background:var(--ys-surface);display:grid;place-items:center;overflow:hidden}
.ys-project-image>:is(img,svg){width:100%;height:100%;object-fit:contain}
.ys-project-noimage{color:var(--ys-muted);font-size:.875rem}
.ys-project-copy{min-width:0}
.ys-site .ys-project-copy h3{font-size:1.125rem;font-weight:600;line-height:1.6;margin:6px 0 8px;overflow-wrap:anywhere}
.ys-project-card p{font-size:.875rem;margin:0;line-height:1.6}
.ys-project-card .ys-project-kind{color:var(--ys-brand);font-size:.75rem}
.ys-project-team{color:var(--ys-muted);overflow-wrap:anywhere}
.ys-project-stats{padding:20px 0;flex:1}
.ys-project-stats strong{font-size:1.125rem;font-weight:600;white-space:nowrap}
.ys-project-amount{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px}
.ys-project-card .ys-project-note{font-size:.75rem;color:var(--ys-muted);margin-top:6px}
.ys-project-stats progress{display:block;appearance:none;width:100%;height:6px;border:0;margin:10px 0 6px;background:var(--ys-surface);color:var(--ys-brand)}
.ys-project-stats progress::-webkit-progress-bar{background:var(--ys-surface)}
.ys-project-stats progress::-webkit-progress-value{background:var(--ys-brand)}
.ys-project-stats progress::-moz-progress-bar{background:var(--ys-brand)}
.ys-project-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--ys-divider-decorative);padding-top:16px}
.ys-project-remaining{font-size:.9375rem;font-weight:600}
.ys-project-remaining.is-soon{color:var(--ys-danger)}
.ys-project-card .ys-project-time{font-size:.75rem;color:var(--ys-muted);font-variant-numeric:tabular-nums;margin-top:4px}
.ys-project-action{font-size:.875rem;color:var(--ys-brand);text-decoration:underline;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}
@media(min-width:641px) and (max-width:999px){.ys-project-heading{grid-template-columns:96px minmax(0,1fr);gap:12px}.ys-site .ys-project-card{padding:16px}}
.ys-home-guide{border-block:1px solid var(--ys-divider-decorative);margin-top:24px}
.ys-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;padding:0;margin:28px 0 36px;list-style:none;counter-reset:guide}
.ys-guide-steps>li{counter-increment:guide;position:relative;padding-left:38px}
.ys-guide-steps.ys-guide-auction{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:639px){.ys-guide-steps.ys-guide-auction{grid-template-columns:1fr}}
.ys-guide-steps>li::before{content:counter(guide);position:absolute;left:0;top:1px;width:26px;height:26px;display:grid;place-items:center;border:1px solid var(--ys-brand);border-radius:50%;font-size:.875rem;color:var(--ys-brand)}
.ys-site .ys-guide-steps h3{font-size:1rem;font-weight:600;margin:0 0 10px;line-height:1.6}
.ys-guide-steps p{font-size:.875rem;color:var(--ys-muted);margin:0}
.ys-home-faq{max-width:760px}
.ys-site .ys-home-faq h3{font-size:1rem;margin:0 0 12px;font-weight:600}
.ys-home-faq details{border-bottom:1px solid var(--ys-divider-decorative)}
.ys-home-faq summary{cursor:pointer;min-height:48px;padding-block:12px;font-size:.875rem}
.ys-home-faq details p{margin:0 0 20px;color:var(--ys-muted);font-size:.875rem}
.ys-home-news{display:grid;grid-template-columns:1fr 2fr;gap:28px;align-items:baseline}
.ys-home-news>p{color:var(--ys-muted);font-size:.875rem}
.ys-home-news ul{list-style:none;padding:0;margin:0}
.ys-home-news li{display:flex;gap:20px;border-bottom:1px solid var(--ys-divider-decorative);padding:16px 0;font-size:.875rem}
.ys-home-news time{color:var(--ys-muted);flex-shrink:0}
.ys-past-projects{margin:0 0 32px;font-size:.875rem}
.ys-home-empty{color:var(--ys-muted)}
.ys-site .ys-global-footer{padding-top:40px;margin-top:24px}
.ys-footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1.2fr 1fr;gap:32px}
.ys-site .ys-footer-brand .ys-logo{width:170px}
.ys-footer-brand p{line-height:1.9;margin-top:20px}
.ys-site .ys-global-footer h2{font-size:.875rem;font-weight:600;color:var(--ys-ink);margin:0 0 12px;line-height:1.6}
.ys-global-footer ul{list-style:none;margin:0;padding:0}
.ys-global-footer li{font-size:.8125rem;line-height:1.6}
.ys-global-footer li>a,.ys-link-pending{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;padding-block:8px;text-decoration:none}
.ys-link-pending small{font-size:.6875rem;background:var(--ys-surface);padding:2px 5px;white-space:nowrap}
.ys-footer-bottom{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;border-top:1px solid var(--ys-divider-decorative);margin-top:32px;padding-top:24px;font-size:.75rem}
.ys-footer-bottom>small{margin-left:auto}
@media(max-width:1099px){
 .ys-site .ys-global-header{grid-template-columns:1fr auto;gap:8px 16px;padding-block:16px}
 .ys-member-nav{grid-column:2;gap:12px}
 .ys-member-name{display:none}
 .ys-global-menu{grid-column:1/-1;grid-row:2}
 .ys-global-menu>summary{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-height:44px;font-size:.875rem;color:var(--ys-brand);cursor:pointer;list-style:none}
 .ys-global-menu>summary::-webkit-details-marker{display:none}
 .ys-menu-symbol{width:18px;height:12px;border-block:1.5px solid currentColor;position:relative}
 .ys-menu-symbol::after{content:'';position:absolute;top:4px;left:0;width:100%;border-top:1.5px solid currentColor}
 .ys-global-menu[open] .ys-menu-symbol{border-bottom:0;height:0}
 .ys-global-menu[open] .ys-menu-symbol::after{display:none}
 .ys-global-menu:not([open])>nav{display:none}
 .ys-global-menu>nav{align-items:stretch;justify-content:start;gap:0;flex-direction:column;border-top:1px solid var(--ys-divider-decorative);padding-block:12px}
 .ys-global-menu .ys-mobile-name{display:block;font-size:.875rem;padding-block:12px}

 .ys-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 36px}
}
@media(max-width:640px){
 .ys-site .ys-global-header .ys-logo{width:140px}
 .ys-member-nav{gap:10px;font-size:.75rem}
 .ys-member-nav .ys-shell-button{min-height:44px;padding:8px 12px}
 .ys-notice-label{display:none}
 .ys-notice-link{gap:2px!important}
 .ys-member-account{max-width:8em;text-align:center}
 .ys-home-intro{grid-template-columns:1fr;gap:20px;padding:24px 0 32px}
 .ys-site .ys-home-intro h1{font-size:2rem;line-height:1.55}
 .ys-home-intro p{font-size:.875rem;line-height:1.9;margin-bottom:20px}
 .ys-home-section{padding-block:28px}
 .ys-section-heading{display:block;margin-bottom:20px}
 .ys-section-heading>p,.ys-section-heading>a{display:block;margin-top:8px}
 .ys-site .ys-home h2{font-size:1.25rem}
 .ys-team-directory{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:24px 16px}
 .ys-site .ys-directory-team{max-width:160px}
 .ys-directory-logo>span{font-size:2rem}
 .ys-project-grid{grid-template-columns:1fr;gap:16px}
 .ys-site .ys-project-card{padding:16px}
 .ys-project-heading{grid-template-columns:88px minmax(0,1fr);gap:12px}
 .ys-site .ys-project-copy h3{font-size:1rem}
 .ys-project-card .ys-project-team{font-size:.75rem}
 .ys-project-stats{padding:16px 0}
 .ys-guide-steps{grid-template-columns:1fr;gap:24px;margin-top:24px}
 .ys-home-news{grid-template-columns:1fr;gap:10px}
 .ys-home-news li{flex-direction:column;gap:6px}
 .ys-footer-grid{grid-template-columns:1fr 1fr;gap:24px 16px}
 .ys-footer-brand{grid-column:1/-1;margin-bottom:8px}
 .ys-footer-bottom{display:block}.ys-footer-bottom>*{display:block;margin-top:8px}
}
@media(max-width:359px){
 .ys-site .ys-global-header .ys-logo{width:116px}
 .ys-member-nav{gap:6px}.ys-member-nav .ys-shell-button{padding:8px}
 .ys-site .ys-home-intro h1{font-size:1.75rem}
 .ys-footer-grid{grid-template-columns:1fr}
}

/* YS-111: concrete first-visit guidance and a separate path for prospective sellers. */
.ys-home-intro-copy { min-width:0; }
.ys-home-intro-copy>p { margin:0 0 12px; line-height:1.8; }
.ys-home-intro-copy .ys-home-offers { color:var(--ys-ink); font-size:.9375rem; }
.ys-home-entry { display:flex; flex-wrap:wrap; align-items:center; gap:8px 24px; margin:16px 0 8px; }
.ys-home-entry>a:not(.ys-shell-button),.ys-guide-steps a,.ys-home-faq a { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px; }
.ys-home-intro-copy .ys-home-browse-note,.ys-home-sellers .ys-home-browse-note { font-size:.8125rem; color:var(--ys-muted); margin:8px 0 0; }
.ys-home-faq { scroll-margin-top:24px; }
.ys-home-sellers { display:grid; grid-template-columns:1fr 1.6fr; gap:32px 64px; border-bottom:1px solid var(--ys-divider-decorative); }
.ys-home-sellers p { color:var(--ys-muted); line-height:1.9; margin:12px 0 20px; }
.ys-site .ys-home-sellers h3 { font-size:1.125rem; margin:0 0 10px; }
.ys-home-sellers h3:not(:first-child) { margin-top:28px; }
.ys-global-menu a { display:inline-flex; align-items:center; min-height:44px; }
@media(max-width:640px) {
 .ys-site .ys-global-header { grid-template-columns:minmax(0,1fr) auto auto; gap:8px; position:relative; }
 .ys-site .ys-global-header .ys-logo { width:140px; }
 .ys-member-nav { grid-column:2; grid-row:1; gap:8px; }
 .logged-in .ys-member-nav { grid-column:1/-1; grid-row:2; }
 .ys-global-menu { grid-column:3; grid-row:1; }
 .ys-global-menu>summary { min-width:44px; justify-content:center; }
 .ys-menu-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 .ys-global-menu[open]>nav { position:absolute; z-index:50; top:100%; left:16px; right:16px; padding:12px 16px; background:var(--ys-paper); border:1px solid var(--ys-input-border); box-shadow:0 8px 16px rgba(41,44,48,.08); }
 .ys-home-intro { gap:16px; padding:20px 0; }
 .ys-home-intro-copy>p { margin-bottom:10px; }
 .ys-home-intro-copy .ys-home-offers { font-size:.875rem; }
 .ys-home-entry { gap:4px 18px; margin-top:12px; font-size:.875rem; }
 .ys-home-sellers { grid-template-columns:1fr; gap:20px; }
}
.ys-home-offers>span { display:inline-block; }
.ys-home-guide-contact>a { display:inline-flex; align-items:center; min-height:44px; }
@media(max-width:359px) {
 .ys-site .ys-global-header .ys-logo { width:108px; }
 .ys-member-nav { gap:6px; }
 .ys-member-nav .ys-shell-button { padding-inline:8px; }
}
