/* =====================================================================
   Public website — premium auction-industry styling
   ===================================================================== */

/* ---- Header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 900; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.brand img { height: 40px; width: auto; border-radius: 8px; }
.brand-name { font-family: var(--display); font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { font-weight: 600; font-size: .93rem; color: var(--ink-soft); position: relative; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--brand); }
.nav-cta { color: #3a2a00 !important; }
.nav-login { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ---- Flash ---------------------------------------------------------- */
.flash { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; }
.flash-error { background:#fee2e2; color:#b91c1c; }
.flash-success, .flash-ok { background:#dcfce7; color:#15803d; }

/* ---- Hero ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3rem,7vw,6.5rem) 0 0; background: var(--brand-2); }
.hero-bg { position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 55%),
    linear-gradient(160deg, #0b1120, #131c31 60%, #0b1120);
}
.hero-grid { position: absolute; inset: 0; opacity:.5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 70% 20%, #000 30%, transparent 75%); }
.hero-inner { position: relative; padding-bottom: clamp(3rem,6vw,5rem); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero-title { font-size: clamp(2.7rem, 7vw, 5.6rem); margin: 1.1rem 0 .3rem; color: #fff;
  text-shadow: 0 20px 60px rgba(0,0,0,.4); }
.hero-title::after { content:""; }
.hero-sub { max-width: 60ch; font-size: clamp(1.02rem,1.6vw,1.22rem); color: rgba(255,255,255,.82); }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-ghost { color:#fff !important; border-color: rgba(255,255,255,.35) !important; background: rgba(255,255,255,.06) !important; }
.hero-ghost:hover { background: rgba(255,255,255,.14) !important; }
.hero-stats { display: flex; gap: clamp(1.5rem,4vw,3.5rem); margin-top: 2.8rem; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: clamp(2rem,4vw,3rem); color: var(--accent); line-height: 1; }
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.7); letter-spacing: .03em; }

.hero-ticker { position: relative; margin-top: clamp(2rem,4vw,3rem); background: var(--accent); color: #2a1e00;
  overflow: hidden; border-top: 3px solid rgba(0,0,0,.1); }
.ticker-track { display: inline-flex; align-items: center; gap: 1.5rem; padding: .7rem 0; white-space: nowrap;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .05em; animation: ticker 28s linear infinite; }
.ticker-track span { display: inline-block; }
.ticker-dot { opacity: .5; }
@keyframes ticker { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---- Sections ------------------------------------------------------- */
.section { padding: clamp(3rem,6vw,5.5rem) 0; }
.section-dark { background: var(--brand-2); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.kicker { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.kicker-light { color: var(--accent); }
.section-title { font-size: clamp(1.7rem,3.4vw,2.6rem); margin-top: .35rem; }
.section-title.light { color: #fff; }

/* ---- Service cards -------------------------------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.2rem; }
.svc-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; transition: transform .18s ease, box-shadow .2s ease, border-color .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card.static:hover { transform: none; box-shadow: var(--shadow); }
.svc-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); margin-bottom: 1rem; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.svc-card p { color: var(--muted); font-size: .95rem; }
.svc-more { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-weight: 700; color: var(--brand); font-size: .88rem; }

/* ---- Auction cards -------------------------------------------------- */
.auction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 1.3rem; }
.auction-card { display: flex; background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s; }
.section-dark .auction-card { border-color: rgba(255,255,255,.08); }
.auction-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.auction-date { flex: 0 0 84px; background: var(--brand); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 1rem .4rem; gap: 2px; }
.ad-month { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; opacity: .9; }
.ad-day { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.ad-dow { font-size: .72rem; opacity: .85; text-transform: uppercase; }
.auction-body { padding: 1.15rem 1.25rem; flex: 1; }
.auction-body h3 { font-size: 1.16rem; margin: .55rem 0 .35rem; }
.auction-body h3 a:hover { color: var(--brand); }
.auction-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; color: var(--muted); font-size: .86rem; }
.auction-meta svg { vertical-align: -3px; }
.auction-summary { color: var(--ink-soft); font-size: .9rem; margin-top: .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.auction-actions { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.badge-featured { background: color-mix(in srgb, var(--accent) 30%, #fff); color: #7a5600; }

/* ---- Filters -------------------------------------------------------- */
.auction-filters { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: .6rem 1.1rem; min-width: 280px; flex: 1; max-width: 420px; color: var(--muted); }
.search-box input { border: 0; outline: 0; flex: 1; background: none; font-size: .95rem; }
.filter-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem .95rem;
  font-weight: 700; font-size: .82rem; color: var(--ink-soft); transition: .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- Team ----------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1.3rem; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; aspect-ratio: 4/4.4; background: linear-gradient(160deg, var(--brand-2), #1b2740); display: grid; place-items: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { font-family: var(--display); font-size: 3rem; color: #fff; opacity: .9; }
.team-tags { position: absolute; left: .7rem; bottom: .7rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.team-info { padding: 1rem 1.15rem 1.3rem; }
.team-info h3 { font-size: 1.15rem; }
.team-title { color: var(--brand); font-weight: 700; font-size: .85rem; margin-top: .15rem; }
.team-exp { color: var(--muted); font-size: .82rem; margin-top: .5rem; }
.team-bio { color: var(--ink-soft); font-size: .9rem; margin-top: .7rem; }
.roster .team-card.detailed .team-photo { aspect-ratio: 4/3.6; }
.team-card.team-lead { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.lead-ribbon { position: absolute; top: .7rem; right: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem;
  background: var(--accent); color: #1a1300; font-weight: 800; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.lead-ribbon svg { width: 12px; height: 12px; }

/* ---- CTA band ------------------------------------------------------- */
.cta-band { background: var(--accent); color: #2a1e00; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2.2rem,4vw,3.2rem) 0; flex-wrap: wrap; }
.cta-title { font-size: clamp(1.6rem,3.2vw,2.4rem); }
.cta-inner p { font-weight: 600; opacity: .8; }

/* ---- Page hero (sub pages) ----------------------------------------- */
.page-hero { background: var(--brand-2); color: #fff; padding: clamp(2.6rem,6vw,4.5rem) 0; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0;
  background: radial-gradient(800px 300px at 90% -20%, color-mix(in srgb,var(--brand) 60%, transparent), transparent 60%); }
.page-hero .container { position: relative; }
.page-title { font-size: clamp(2.2rem,5vw,3.6rem); margin: .4rem 0; }
.page-lead { max-width: 60ch; color: rgba(255,255,255,.8); font-size: 1.05rem; }

/* ---- Detail page ---------------------------------------------------- */
.detail-hero { background: var(--brand-2); color: #fff; padding: clamp(2rem,5vw,3.5rem) 0; }
.back-link { color: var(--accent); font-weight: 700; font-size: .85rem; }
.detail-title { font-size: clamp(2rem,4.5vw,3.4rem); }
.detail-facts { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; color: rgba(255,255,255,.85); font-weight: 600; }
.detail-facts svg { vertical-align: -4px; color: var(--accent); }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.2rem; align-items: start; }
.detail-lead { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.prose { color: var(--ink-soft); line-height: 1.7; margin-top: 1rem; }
.detail-subhead { margin-top: 2rem; font-size: 1.2rem; }
.crew-chiplist { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.crew-chip { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem .4rem .4rem; }
.crew-chip .muted { display: block; font-size: .78rem; }
.avatar-sm { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .82rem; }
.detail-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 90px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.side-card h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.side-row { display: flex; gap: .7rem; margin-bottom: 1rem; }
.side-row svg { color: var(--brand); flex: 0 0 auto; }
.side-row strong { display: block; }
.side-row .muted { font-size: .85rem; }
.side-card-dark { background: var(--brand-2); color: #fff; }
.side-card-dark .muted { color: rgba(255,255,255,.7); }

/* ---- About ---------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; text-align: center; box-shadow: var(--shadow-sm); }
.fact strong { display: block; font-size: 2.2rem; color: var(--brand); }
.fact span { font-size: .82rem; color: var(--muted); }
.values { background: #fff; padding: clamp(2.5rem,5vw,4rem) 0; border-top: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.3rem; }
.value { padding: 1.3rem; }
.value h3 { margin: .6rem 0 .3rem; }
.value p { color: var(--muted); }

/* ---- Contact -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.contact-line { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; font-weight: 600; }
.contact-line svg { color: var(--brand); }

/* ---- Footer --------------------------------------------------------- */
.site-footer { background: var(--brand-2); color: rgba(255,255,255,.75); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.site-footer a { display: block; padding: .3rem 0; color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.3rem; font-size: .82rem; flex-wrap: wrap; gap: .5rem; }
.footer-bottom .muted { color: rgba(255,255,255,.5); }

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 900px){
  .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 1.4rem 1.6rem; gap: .3rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-login { border-left: 0; padding-left: 0; }
  .nav-cta { text-align: center; margin-top: .5rem; }
}
@media (max-width: 560px){
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}
