/* ============================================================
   Brand My Degree — stylesheet
   Apple-like minimal aesthetic, faithful to the reference site
   ============================================================ */
:root {
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --gray: #6e6e73;
  --gray-light: #86868b;
  --hairline: #e8e8ed;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --blue: #0071e3;
  --blue-dark: #0064c8;
  --green: #1d9e50;
  --red: #c8102e;       /* diploma / cartola red */
  --red-deep: #9e0c24;
  --radius-card: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

.container { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.wide { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------------- Dock nav: liquid glass dynamic island ---------------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; pointer-events: none;
  padding: 0 14px;
}
.dock {
  pointer-events: auto;
  display: flex; align-items: flex-end; gap: 6px;
  padding: 8px 12px;
  border-radius: 26px;
  position: relative; isolation: isolate;
  /* liquid glass */
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.52));
  backdrop-filter: blur(22px) saturate(200%);
  -webkit-backdrop-filter: blur(22px) saturate(200%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, .13),
    0 2px 8px rgba(0, 0, 0, .06),
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(255,255,255,.35);
  transition: padding .45s cubic-bezier(.32,.72,0,1), border-radius .45s cubic-bezier(.32,.72,0,1),
              gap .45s cubic-bezier(.32,.72,0,1), transform .45s cubic-bezier(.32,.72,0,1);
}
/* specular sheen */
.dock::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 38%,
              rgba(255,255,255,0) 62%, rgba(255,255,255,.28) 100%);
  mix-blend-mode: overlay;
}
.dock.compact { padding: 5px 9px; gap: 4px; border-radius: 22px; }

.dock-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; color: var(--ink);
  padding: 0 8px 0 4px; height: 44px; white-space: nowrap;
  max-width: 210px; overflow: hidden;
  transition: max-width .45s cubic-bezier(.32,.72,0,1), opacity .3s ease, padding .45s ease;
}
.dock-brand:hover { text-decoration: none; }
.dock-brand svg,
.dock-brand img,
.dock-brand .dock-logo {
  width: 24px; height: 24px; flex: none;
  object-fit: contain;
  border-radius: 5px;
  transition: transform .2s ease;
}
.dock-brand:hover svg,
.dock-brand:hover img,
.dock-brand:hover .dock-logo { transform: scale(1.14); }
.dock-brand .bname { transition: opacity .3s ease; }
.dock.compact .dock-brand { max-width: 34px; padding-right: 0; }
.dock.compact .dock-brand .bname { opacity: 0; }

.dock-sep {
  width: 1px; align-self: center; height: 26px; margin: 0 4px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.14), transparent);
  flex: none;
}

.dock-item {
  position: relative; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); background: transparent; border: none;
  /* scale only — never width/height, so hovering can never reflow the dock */
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dock-item:hover {
  background: rgba(0,0,0,.06); color: var(--ink); text-decoration: none;
  transform: scale(1.14);
}
.dock-item svg { width: 18px; height: 18px; }
.dock-item .dock-tip {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  background: rgba(28,28,30,.92); color: #fff; font-size: 11px; font-weight: 500;
  padding: 5px 9px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(8px);
}
.dock-item:hover .dock-tip { opacity: 1; transform: translateX(-50%) translateY(0); }

.currency-toggle {
  display: flex; align-self: center; background: rgba(0,0,0,.05);
  border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 2px; flex: none;
}
.currency-toggle button {
  border: none; background: transparent; color: var(--gray);
  width: 26px; height: 22px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.currency-toggle button:hover { color: var(--ink); transform: scale(1.18); }
.currency-toggle button.active { background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.btn-pill-dark {
  align-self: center; flex: none;
  background: var(--ink); color: #fff; border: none;
  border-radius: 999px; padding: 8px 15px; font-size: 12.5px; font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  transition: background .2s ease, transform .2s ease;
}
.btn-pill-dark:hover { background: #000; transform: scale(1.07); }

/* ---------------- Infinite slider (brand strip) ---------------- */
.slider-wrap {
  padding: 98px 16px 0px;
  margin-bottom: -6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
}
.slider-track {
  display: flex; width: max-content; gap: 20px;
  animation: slide-x 42s linear infinite;
  will-change: transform;
}
@keyframes slide-x { from { transform: translate3d(0,0,0) } to { transform: translate3d(calc(-50% - 10px),0,0) } }
.slide-card {
  width: 100px; height: 72px; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2px; text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  color: inherit;
  transition: transform .2s ease;
}
/* the only interaction: a sponsor card links to its site */
a.slide-card { cursor: pointer; }
a.slide-card:hover { text-decoration: none; transform: scale(1.06); }
.slide-card.ghost, .slide-card.static { pointer-events: none; }
.slide-card .s-logo { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; }
.slide-card .s-logo svg, .slide-card .s-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.slide-card .s-text-logo { font-size: 13px; font-weight: 700; color: var(--ink); }

/* liquid-glass placeholder card */
.slide-card.ghost {
  position: relative;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  color: var(--gray);
}
.slide-card.ghost::before,
.slide-card.ghost::after {
  display: none;
}
.slide-card.ghost .g-plus {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px dashed rgba(200,16,46,.45); color: rgba(200,16,46,.75);
  display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1;
}
.slide-card.ghost .g-text { font-size: 10px; font-weight: 600; color: var(--ink-soft); }

/* ---------------- Text effect (per char) ---------------- */
.te-char {
  display: inline-block; white-space: pre;
  opacity: 0; filter: blur(9px); transform: translateY(6px);
}
.te-char.in {
  opacity: 1; filter: blur(0); transform: none;
  transition: opacity .5s ease, filter .5s ease, transform .5s ease;
}

/* ---------------- Hero ---------------- */
/* these elements are also .container, so keep the side padding */
.hero { text-align: center; padding: 4px 22px 2px; }
.visitors {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray); margin-bottom: 2px;
}
.visitors .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #2fbf62;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.visitors .total { color: var(--ink-soft); font-weight: 600; margin-left: 10px; }

.hero h1 {
  font-size: clamp(38px, 6vw, 56px); font-weight: 700; letter-spacing: -0.02em;
  margin: 6px 0 6px;
}
.hero .sub { color: var(--ink); font-size: 16.5px; max-width: 680px; margin: 0 auto; line-height: 1.45; word-break: normal; }
.hero .sub.follow { color: var(--gray); font-size: 15px; margin-top: 8px; }

/* fundraiser */
.fundraiser { max-width: 680px; margin: 14px auto 0; width: 100%; }
.fundraiser-top { display: flex; justify-content: space-between; align-items: baseline; }
.raised { color: var(--green); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }
.raised small { color: var(--gray); font-weight: 500; font-size: 14px; margin-left: 6px; }
.goal { font-size: 14.5px; color: var(--gray); font-weight: 500; }
.goal b { color: var(--green); font-weight: 700; font-size: 15px; }
.bar {
  height: 14px; border-radius: 999px; background: rgba(0,0,0,0.06);
  margin: 10px 0 8px; overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
.bar .fill {
  height: 100%; border-radius: 999px; min-width: 8px;
  background: linear-gradient(90deg, #16a34a, #4ade80, #86efac, #4ade80, #16a34a);
  background-size: 300% 100%;
  animation: barflow 2.6s linear infinite;
  transition: width .8s cubic-bezier(.4, 0, .2, 1);
}
@keyframes barflow { from { background-position: 0% 0 } to { background-position: -300% 0 } }
.deadline { font-size: 12.5px; color: var(--gray); text-align: center; }

/* ---------------- Diploma visual (portrait folder) ---------------- */
.stage-wrap { padding: 18px 22px 0; }
.stage-wrap.container { max-width: 1140px; }
/* Both views share one grid cell, so switching cross-fades in place
   instead of reflowing the page. */
.stage {
  position: relative; max-width: 1140px; margin: 0 auto; min-height: 540px;
  display: grid;
}
.stage-view {
  grid-area: 1 / 1; align-self: center;
  transition: opacity .42s ease, transform .42s cubic-bezier(.32,.72,0,1), filter .42s ease;
}
.stage-view.hidden {
  opacity: 0; pointer-events: none;
  transform: scale(.97); filter: blur(6px);
}

/* diploma + cartola + live table, side by side */
.stage-duo {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  flex-wrap: nowrap;
}

/* portrait diploma cover with spots */
.diploma-cover {
  background: linear-gradient(155deg, #d31531, #a90d27 70%, #930a21);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(160, 10, 35, .28), inset 0 1px 0 rgba(255,255,255,.25);
  padding: 22px;
  flex: 0 0 440px; min-width: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px;
}

/* live auction table, docked beside the diploma */
.auction-panel { flex: 1 1 320px; min-width: 300px; }
.spot-tile {
  position: relative;
  background: rgba(255,255,255,.94);
  outline: 1.5px dashed rgba(200, 16, 46, .25);
  outline-offset: -6px;
  border-radius: 10px; padding: 12px 8px 8px;
  min-height: 96px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.spot-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.tile-content {
  height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 8px;
  transition: filter .22s ease, opacity .22s ease;
}
.spot-tile .logo { width: 100%; max-width: 110px; height: 46px; display: flex; align-items: center; justify-content: center; }
.spot-tile .logo svg { max-width: 100%; max-height: 100%; }
.spot-tile .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.spot-tile .price { font-size: 11.5px; font-weight: 700; color: #1d1d1f; white-space: nowrap; }
.spot-tile.free .tile-content { justify-content: center; }
.spot-tile.free .plus { font-size: 22px; font-weight: 300; color: rgba(255,255,255,.85); line-height: 1; }
.spot-tile.free {
  background: rgba(255, 255, 255, .15);
  outline: 1.5px dashed rgba(255, 255, 255, .45);
  backdrop-filter: blur(4px);
}
.spot-tile.free .price {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.spot-tile.span1 { grid-column: span 1; padding: 8px 4px 6px; }
.spot-tile.span2 { grid-column: span 2; }
.spot-tile.span3 { grid-column: span 3; }
.spot-tile.span6 { grid-column: span 6; min-height: 88px; }
.spot-tile.crest-tile {
  grid-column: span 2; background: transparent; outline: none; cursor: default;
  box-shadow: none; min-height: 110px;
}
.spot-tile.crest-tile:hover { transform: none; box-shadow: none; }
.spot-tile.crest-tile .logo { height: 100px; max-width: none; }

/* hover: blur content + blue pill, same look as "Get a spot" */
.tile-pill {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  background: var(--blue); color: #fff; border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.34, 1.4, .64, 1);
  box-shadow: 0 6px 18px rgba(0, 113, 227, .35);
}
/* only biddable zones blur — the faculty logo is not clickable */
.spot-tile[data-spot]:hover .tile-content,
.spot-tile.focus .tile-content { filter: blur(5px); opacity: .55; }
.spot-tile[data-spot]:hover .tile-pill,
.spot-tile.focus .tile-pill { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.spot-tile.focus, .band-tile.focus {
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px rgba(0,113,227,.55), 0 10px 22px rgba(0,0,0,.18);
}

/* ---------------- 2D cartola with band spots (diploma-sized) ---------------- */
.hat-col {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 0 0 480px; min-width: 0;
}
.hat2d {
  position: relative; width: 100%; max-width: 480px;
  display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 18px 42px rgba(160, 10, 35, .28));
}
.hat-crown-wrap {
  width: 360px; max-width: 84%; height: 400px; flex: none;
  position: relative;
}
.hat-crown-svg {
  width: 100%; height: 100%; display: block;
}
.hat-band {
  width: 310px; max-width: 80%; height: 64px; flex: none;
  background: linear-gradient(180deg, #ffffff 0%, #f0ede6 100%);
  box-shadow: none;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 0 6px; position: relative; z-index: 2;
  margin: -2px 0 -4px;
}
.band-tile {
  position: relative; width: 50px; height: 54px;
  background: #fff; border-radius: 6px;
  outline: 1.5px dashed rgba(200, 16, 46, .35); outline-offset: -3px;
  cursor: pointer; flex: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.band-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.band-tile .tile-content {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; transition: filter .22s ease, opacity .22s ease; padding: 2px;
}
.band-tile .blogo { width: 100%; height: 26px; display: flex; align-items: center; justify-content: center; }
.band-tile .blogo svg, .band-tile .blogo img,
.band-tile .tile-content > img { max-width: 100%; max-height: 100%; object-fit: contain; }
.band-tile .plus { font-size: 14px; font-weight: 300; color: rgba(200, 16, 46, .6); line-height: 1; }
.band-tile .price { font-size: 9.5px; font-weight: 700; color: #1d1d1f; white-space: nowrap; }
.band-tile:hover .tile-content,
.band-tile.focus .tile-content { filter: blur(4px); opacity: .5; }
.band-tile .tile-pill { padding: 3px 8px; font-size: 9px; }
.band-tile:hover .tile-pill,
.band-tile.focus .tile-pill { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hat-brim-wrap {
  width: 480px; max-width: 100%; height: 84px; flex: none;
  position: relative; z-index: 3; margin-top: -6px;
}
.hat-brim-svg {
  width: 100%; height: 100%; display: block;
}

/* 3D view */
#view-3d {
  width: 100%;
  overflow: visible;
}
#three-canvas-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  height: 680px;
  overflow: visible;
  position: relative;
  touch-action: none;
}
#three-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* toggle under stage */
.stage-toggle-wrap { text-align: center; margin-top: 26px; }
.seg-toggle {
  display: inline-flex; background: var(--bg-soft); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 3px;
}
.seg-toggle button {
  border: none; background: transparent; color: var(--ink-soft);
  border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 500;
}
.seg-toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.14); font-weight: 600; }
.stage-caption { font-size: 11.5px; color: var(--gray-light); margin-top: 10px; }

/* live auction table, in its own section under the stage */
.auction-section { padding: 40px 22px 46px; }
.auction-section.container { max-width: 1080px; }
.auction-card.scroll-cap { margin-top: 0; }   /* all 15 spots visible, no inner scroll */

.btn-blue {
  background: var(--blue); color: #fff; border: none; border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 600;
}
.btn-blue:hover { background: var(--blue-dark); }

/* ---------------- Time-machine carousel (images only, no dark shell) ---------------- */
.tm-wrap { margin-top: 34px; display: flex; flex-direction: column; align-items: center; }
.tm-carousel {
  position: relative; width: 100%; max-width: 1020px; height: 600px;
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 10px;
}
.tm-stage {
  position: relative; flex: 1; max-width: 900px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  perspective: 1400px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tm-card {
  position: absolute; width: min(820px, calc(100vw - 150px)); height: 500px; border-radius: 20px;
  overflow: hidden; pointer-events: none;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.3, 1.15, .45, 1), opacity .45s ease;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  background: var(--bg-soft);
}
.tm-card img { width: 100%; height: 100%; object-fit: cover; }

.tm-timeline {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: flex-end; padding: 8px 4px;
}
.tm-tick {
  position: relative; width: 80px; display: flex; justify-content: flex-end;
  padding: 2px 0; cursor: pointer; background: none; border: none;
}
.tm-tick .bar-tick {
  height: 3px; width: 24px; border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  transform-origin: right center;
  transition: transform .25s cubic-bezier(.34, 1.5, .64, 1), background .2s ease, opacity .2s ease;
}
.tm-tick.sub .bar-tick { background: rgba(0, 0, 0, .14); }
.tm-tick:hover .bar-tick { transform: scaleX(1.3); background: rgba(0, 0, 0, .65); }
.tm-tick.sub:hover .bar-tick { transform: scaleX(1.15); background: rgba(0, 0, 0, .3); }
.tm-tick.active .bar-tick { background: var(--blue); transform: scaleX(1.4); }
.tm-tick .tm-date {
  position: absolute; right: 40px; top: -3px;
  font-size: 10px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  opacity: 0; transform: scale(.85); filter: blur(2px);
  transition: opacity .15s ease, transform .15s ease, filter .15s ease;
  pointer-events: none;
}
.tm-tick:hover .tm-date, .tm-tick.active:hover .tm-date { opacity: 1; transform: scale(1); filter: blur(0); }
.tm-tick.active .tm-date { color: var(--blue); }
.tm-caption { font-size: 11.5px; color: var(--gray-light); margin-top: 14px; }

/* ---------------- Sections ---------------- */
section.block { padding: 52px 0; }
section.block.soft { background: var(--bg-soft); }
.block h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.015em; }
.block .block-sub { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.block .block-note { color: var(--gray); font-size: 12.5px; margin-top: 8px; max-width: 460px; }

.status-line {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray); margin-bottom: 14px;
}
.status-line .dot { width: 7px; height: 7px; border-radius: 50%; background: #2fbf62; }

/* auction table */
.auction-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-card);
  margin-top: 30px; overflow: hidden;
}
.auction-table { width: 100%; border-collapse: collapse; }
.auction-table th {
  text-align: left; font-size: 11.5px; font-weight: 500; color: var(--gray-light);
  padding: 14px 20px 10px; border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.auction-table td { padding: 14px 20px; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
.auction-table tr:last-child td { border-bottom: none; }
.spot-cell { display: flex; align-items: center; gap: 12px; }
/* reads as a real button: raised, bordered, presses in on click */
.spot-num {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(180deg, #fff, #f2f2f5);
  color: var(--ink); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  border: 1px solid #dcdce1; font-family: inherit; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.9);
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .12s ease;
}
.spot-num:hover {
  background: linear-gradient(180deg, #1a86ff, var(--blue));
  border-color: var(--blue-dark); color: #fff;
  box-shadow: 0 3px 8px rgba(0,113,227,.32), inset 0 1px 0 rgba(255,255,255,.35);
  transform: translateY(-1px);
}
.spot-num:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(0,113,227,.3); }
.spot-num:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.spot-label { display: flex; flex-direction: column; gap: 2px; }
.spot-name { font-size: 13.5px; font-weight: 500; }

/* sponsor click tally — under the name on desktop, under the logo on mobile */
.click-count { font-size: 10.5px; color: var(--gray-light); }
.held-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.held-wrap .click-count { display: none; }
.held-link { display: inline-flex; }
.held-link:hover { opacity: .75; }
.held-cell { min-width: 210px; }
.held-cell .mini-logo { height: 62px; max-width: 200px; display: flex; align-items: center; }
.held-cell .mini-logo svg { height: 100%; max-width: 100%; }
.held-cell img.upload { height: 62px; max-width: 200px; object-fit: contain; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.06)); }
.held-cell .free-dash { color: var(--gray-light); font-size: 13px; }
/* header sits centred across the bid value and its button */
.auction-table th.bid-head { text-align: center; }
.bid-cell { text-align: right; white-space: nowrap; }
.bid-amount { font-weight: 600; font-size: 14px; }
.bid-amount.free { color: var(--gray); font-weight: 500; font-size: 12.5px; }
.bid-count { font-size: 11px; color: var(--gray-light); }

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.btn-outbid {
  border: 1px solid var(--blue); color: var(--blue); background: #fff;
  border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 600;
  transition: background .18s ease, color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn-outbid:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.btn-visit {
  border: 1px solid var(--hairline); color: var(--ink); background: var(--bg-soft);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn-visit:hover {
  background: #fff; border-color: var(--blue); color: var(--blue);
  text-decoration: none; transform: translateY(-1px);
}

/* honorary sponsors / outbid history */
.history-row td {
  padding: 6px 20px 16px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(245, 245, 247, 0.45);
}
.honorary-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.honorary-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-light);
}
.honorary-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.honorary-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 6px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: transform .15s ease, box-shadow .15s ease;
}
.honorary-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}
.honorary-logo-cell {
  height: 32px;
  max-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-honorary {
  height: 32px;
  max-width: 110px;
  object-fit: contain;
}
.mini-logo-honorary {
  height: 32px;
  max-width: 110px;
  display: flex;
  align-items: center;
}
.mini-logo-honorary svg {
  height: 100%;
  max-width: 100%;
}
.brand-text-honorary {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
.honorary-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.honorary-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.honorary-brand a {
  color: var(--ink);
  text-decoration: none;
}
.honorary-brand a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.honorary-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.honorary-bid-val {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
}
.honorary-clicks {
  font-size: 10.5px;
  color: var(--gray-light);
  font-weight: 500;
}
.btn-visit-sm {
  padding: 3px 10px;
  font-size: 11px;
  margin-left: 2px;
}

/* How it works + What the money buys stacked, FAQ alongside */
.container.trio {
  max-width: 1080px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: start;
}
.trio-left { display: flex; flex-direction: column; gap: 38px; }
.trio-left .steps { margin-top: 20px; gap: 18px; }
.trio-left .specs-card { margin-top: 20px; }
@media (max-width: 900px) {
  .container.trio { grid-template-columns: 1fr; gap: 40px; }
}

/* how it works */
.steps { margin-top: 30px; display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 20px; }
.step-num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.step p { color: var(--ink-soft); font-size: 13.5px; max-width: 420px; }

/* specs */
.specs-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-card);
  margin-top: 30px; overflow: hidden;
}
.specs-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--hairline);
}
.specs-head h3 { font-size: 15.5px; font-weight: 700; }
.specs-head .price { font-size: 15.5px; font-weight: 700; }
.specs-row { display: flex; padding: 12px 22px; border-bottom: 1px solid var(--hairline); font-size: 13px; }
.specs-row:last-child { border-bottom: none; }
.specs-row .k { width: 130px; flex: none; color: var(--gray); }
.specs-row .v { color: var(--ink); }
.specs-note { font-size: 12px; color: var(--gray); margin-top: 16px; max-width: 480px; line-height: 1.6; }

/* FAQ */
.faq { margin-top: 26px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 2px; font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.faq-q .plus { font-size: 19px; font-weight: 300; color: var(--ink-soft); transition: transform .25s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 40px 18px 2px; color: var(--ink-soft); font-size: 13.5px; }

/* footer */
footer { padding: 34px 0; }

/* credit / inspiration */
.credit {
  max-width: 560px; margin: 0 auto; text-align: center;
  padding: 26px 22px; border-radius: 16px;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 20px rgba(0,0,0,.05);
}
.credit p { font-size: 13px; color: var(--ink-soft); }
.credit .small { font-size: 11.5px; color: var(--gray-light); margin-top: 8px; }

/* ---------------- The Tradition of the Red Hat and Cane ---------------- */
#tradition.block { padding: 16px 0 28px; }
.tradition-container { max-width: 1080px; }
.tradition-grid {
  display: flex;
  align-items: center;
  gap: 52px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 42px 46px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.tradition-media {
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tradition-logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.14));
  transition: transform 0.3s ease;
}
.tradition-logo:hover {
  transform: scale(1.03);
}
.tradition-content {
  flex: 1;
  min-width: 0;
}
.tradition-content h2 {
  font-size: 27px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.tradition-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tradition-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 890px) {
  .tradition-grid {
    flex-direction: column;
    padding: 30px 22px;
    gap: 28px;
    text-align: center;
  }
  .tradition-media {
    flex: none;
    max-width: 260px;
  }
}

/* who am I */
#who .container {
  max-width: 1080px;
}
.who-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.who-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.who-photo {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border: 3px solid #ffffff;
}
.who-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.who-actions h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.who-tagline {
  font-size: 13.5px;
  color: var(--gray);
  margin: 0;
}
.who-actions .glass-btn-group {
  margin-top: 8px;
}
.who-bio {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.who-bio p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* Liquid Glass Buttons */
.glass-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.22s ease,
              background 0.22s ease,
              border-color 0.22s ease;
}
.glass-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.78));
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  color: var(--ink);
  text-decoration: none;
}
.glass-btn:active {
  transform: translateY(0) scale(0.98);
}
.glass-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}
@media (max-width: 720px) {
  .who-card { padding: 24px 20px; }
  .who-header { flex-direction: column; text-align: center; gap: 16px; }
  .who-actions { align-items: center; }
  .who-actions .glass-btn-group { justify-content: center; }
}
.about h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.about p { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.foot-meta { max-width: 560px; margin: 34px auto 0; border-top: 1px solid var(--hairline); padding-top: 20px; }
.foot-links { display: flex; gap: 18px; font-size: 12px; }
.foot-links a { color: var(--gray); }
.disclaimer { font-size: 11.5px; color: var(--gray-light); margin-top: 16px; }

/* ---------------- Modal ---------------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.modal-backdrop.show { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 400px;
  max-height: 92vh; display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: translateY(12px) scale(.98); transition: transform .25s ease;
}
.modal-backdrop.show .modal { transform: none; }
.modal-head { padding: 20px 22px 0; position: relative; flex: none; }
.modal-head h3 { font-size: 16px; font-weight: 700; padding-right: 26px; }
.modal-head .meta { font-size: 12px; color: var(--gray); margin-top: 4px; }
.modal-head .meta b { color: var(--ink); }
.modal-close {
  position: absolute; top: 16px; right: 16px; border: none; background: none;
  font-size: 19px; color: var(--gray); line-height: 1;
}
.modal-body { padding: 16px 22px 22px; overflow-y: auto; }

.signin-copy { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px; }
.btn-x {
  width: 100%; background: #1d1d1f; color: #fff; border: none; border-radius: 999px;
  padding: 12px 0; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.btn-x:hover { background: #000; }
.btn-google {
  width: 100%; background: #fff; color: var(--ink); border: 1px solid #d2d2d7; border-radius: 999px;
  padding: 11px 0; font-size: 14px; font-weight: 600; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.btn-google:hover { background: var(--bg-soft); }
.field input {
  width: 100%; border: 1px solid var(--hairline); border-radius: 10px;
  padding: 11px 13px; font-size: 13.5px; font-family: inherit; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.signin-hint { font-size: 11.5px; color: var(--gray-light); margin-top: 12px; text-align: center; }

/* bid form */
.bidding-as {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--gray); margin-bottom: 14px;
}
.bidding-as b { color: var(--ink); }
.bidding-as button { border: none; background: none; color: var(--ink-soft); font-size: 12px; text-decoration: underline; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--gray-light); }
.field .hint { font-size: 11px; color: var(--gray-light); margin-top: 5px; }
.field .note-kept { font-size: 11px; color: var(--gray); margin-top: 6px; line-height: 1.5; }
.bid-input-wrap { position: relative; }
.bid-input-wrap .cur { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deposit-box {
  background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px;
  font-size: 12px; color: var(--ink-soft);
}
.deposit-box .row { display: flex; justify-content: space-between; padding: 3px 0; }
.deposit-box .row.strong { font-weight: 700; color: var(--ink); }
.deposit-box .fine { color: var(--gray); font-size: 11px; margin-top: 6px; line-height: 1.5; }
.upload-zone {
  border: 1.5px dashed var(--hairline); border-radius: 12px; background: var(--bg-soft);
  min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--gray); font-size: 12px; cursor: pointer; position: relative;
  text-align: center; padding: 12px;
}
.upload-zone:hover { border-color: var(--gray-light); }
.upload-zone img.preview { max-height: 52px; max-width: 160px; object-fit: contain; }
.upload-zone .formats { font-size: 10.5px; color: var(--gray-light); }
.checkbox-row { display: flex; gap: 9px; font-size: 12px; color: var(--ink-soft); margin: 4px 0 16px; align-items: flex-start; }
.checkbox-row input { margin-top: 2px; accent-color: var(--blue); }
.checkbox-row .sub { color: var(--gray-light); font-size: 11px; }
.btn-submit-bid {
  width: 100%; background: var(--blue); color: #fff; border: none; border-radius: 999px;
  padding: 13px 0; font-size: 14.5px; font-weight: 600;
}
.btn-submit-bid:hover { background: var(--blue-dark); }
.btn-submit-bid:disabled { opacity: .5; cursor: not-allowed; }
.hand-check { text-align: center; font-size: 11.5px; color: var(--gray-light); margin-top: 12px; }

/* checkout (demo) */
.checkout-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.checkout-brand .sq { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--red), #5b21b6); }
.checkout-brand span { font-size: 13px; color: var(--gray); }
.currency-choice { display: flex; gap: 10px; margin: 14px 0 18px; }
.currency-choice button {
  flex: 1; border: 1px solid var(--hairline); background: #fff; border-radius: 10px;
  padding: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.currency-choice button.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(29,158,80,.2); }
.checkout-line { display: flex; justify-content: space-between; font-size: 12.5px; padding: 8px 0; border-top: 1px solid var(--hairline); }
.checkout-line small { display: block; color: var(--gray-light); font-size: 10.5px; max-width: 220px; }
.powered { text-align: center; font-size: 11px; color: var(--gray-light); margin-top: 16px; }

/* success */
.success-wrap { text-align: center; padding: 18px 0 8px; }
.success-wrap .big { font-size: 40px; }
.success-wrap h4 { font-size: 16px; margin-top: 10px; }
.success-wrap p { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

/* toast */
  gap: 6px;
}
.who-actions h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.who-tagline {
  font-size: 13.5px;
  color: var(--gray);
  margin: 0;
}
.who-actions .glass-btn-group {
  margin-top: 8px;
}
.who-bio {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.who-bio p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* Liquid Glass Buttons */
.glass-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.22s ease,
              background 0.22s ease,
              border-color 0.22s ease;
}
.glass-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.78));
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  color: var(--ink);
  text-decoration: none;
}
.glass-btn:active {
  transform: translateY(0) scale(0.98);
}
.glass-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}
@media (max-width: 720px) {
  .who-card { padding: 24px 20px; }
  .who-header { flex-direction: column; text-align: center; gap: 16px; }
  .who-actions { align-items: center; }
  .who-actions .glass-btn-group { justify-content: center; }
}
.about h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.about p { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.foot-meta { max-width: 560px; margin: 34px auto 0; border-top: 1px solid var(--hairline); padding-top: 20px; }
.foot-links { display: flex; gap: 18px; font-size: 12px; }
.foot-links a { color: var(--gray); }
.disclaimer { font-size: 11.5px; color: var(--gray-light); margin-top: 16px; }

/* ---------------- Modal ---------------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.modal-backdrop.show { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 400px;
  max-height: 92vh; display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: translateY(12px) scale(.98); transition: transform .25s ease;
}
.modal-backdrop.show .modal { transform: none; }
.modal-head { padding: 20px 22px 0; position: relative; flex: none; }
.modal-head h3 { font-size: 16px; font-weight: 700; padding-right: 26px; }
.modal-head .meta { font-size: 12px; color: var(--gray); margin-top: 4px; }
.modal-head .meta b { color: var(--ink); }
.modal-close {
  position: absolute; top: 16px; right: 16px; border: none; background: none;
  font-size: 19px; color: var(--gray); line-height: 1;
}
.modal-body { padding: 16px 22px 22px; overflow-y: auto; }

.signin-copy { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px; }
.btn-x {
  width: 100%; background: #1d1d1f; color: #fff; border: none; border-radius: 999px;
  padding: 12px 0; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.btn-x:hover { background: #000; }
.btn-google {
  width: 100%; background: #fff; color: var(--ink); border: 1px solid #d2d2d7; border-radius: 999px;
  padding: 11px 0; font-size: 14px; font-weight: 600; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.btn-google:hover { background: var(--bg-soft); }
.field input {
  width: 100%; border: 1px solid var(--hairline); border-radius: 10px;
  padding: 11px 13px; font-size: 13.5px; font-family: inherit; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.signin-hint { font-size: 11.5px; color: var(--gray-light); margin-top: 12px; text-align: center; }

/* bid form */
.bidding-as {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--gray); margin-bottom: 14px;
}
.bidding-as b { color: var(--ink); }
.bidding-as button { border: none; background: none; color: var(--ink-soft); font-size: 12px; text-decoration: underline; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--gray-light); }
.field .hint { font-size: 11px; color: var(--gray-light); margin-top: 5px; }
.field .note-kept { font-size: 11px; color: var(--gray); margin-top: 6px; line-height: 1.5; }
.bid-input-wrap { position: relative; }
.bid-input-wrap .cur { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deposit-box {
  background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px;
  font-size: 12px; color: var(--ink-soft);
}
.deposit-box .row { display: flex; justify-content: space-between; padding: 3px 0; }
.deposit-box .row.strong { font-weight: 700; color: var(--ink); }
.deposit-box .fine { color: var(--gray); font-size: 11px; margin-top: 6px; line-height: 1.5; }
.upload-zone {
  border: 1.5px dashed var(--hairline); border-radius: 12px; background: var(--bg-soft);
  min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--gray); font-size: 12px; cursor: pointer; position: relative;
  text-align: center; padding: 12px;
}
.upload-zone:hover { border-color: var(--gray-light); }
.upload-zone img.preview { max-height: 52px; max-width: 160px; object-fit: contain; }
.upload-zone .formats { font-size: 10.5px; color: var(--gray-light); }
.checkbox-row { display: flex; gap: 9px; font-size: 12px; color: var(--ink-soft); margin: 4px 0 16px; align-items: flex-start; }
.checkbox-row input { margin-top: 2px; accent-color: var(--blue); }
.checkbox-row .sub { color: var(--gray-light); font-size: 11px; }
.btn-submit-bid {
  width: 100%; background: var(--blue); color: #fff; border: none; border-radius: 999px;
  padding: 13px 0; font-size: 14.5px; font-weight: 600;
}
.btn-submit-bid:hover { background: var(--blue-dark); }
.btn-submit-bid:disabled { opacity: .5; cursor: not-allowed; }
.hand-check { text-align: center; font-size: 11.5px; color: var(--gray-light); margin-top: 12px; }

/* checkout (demo) */
.checkout-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.checkout-brand .sq { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--red), #5b21b6); }
.checkout-brand span { font-size: 13px; color: var(--gray); }
.currency-choice { display: flex; gap: 10px; margin: 14px 0 18px; }
.currency-choice button {
  flex: 1; border: 1px solid var(--hairline); background: #fff; border-radius: 10px;
  padding: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.currency-choice button.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(29,158,80,.2); }
.checkout-line { display: flex; justify-content: space-between; font-size: 12.5px; padding: 8px 0; border-top: 1px solid var(--hairline); }
.checkout-line small { display: block; color: var(--gray-light); font-size: 10.5px; max-width: 220px; }
.powered { text-align: center; font-size: 11px; color: var(--gray-light); margin-top: 16px; }

/* success */
.success-wrap { text-align: center; padding: 18px 0 8px; }
.success-wrap .big { font-size: 40px; }
.success-wrap h4 { font-size: 16px; margin-top: 10px; }
.success-wrap p { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 20px;
  font-size: 13px; z-index: 200; transition: transform .3s ease; box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* responsive */
/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 1000px) {
  .auction-section.container { max-width: 100%; }
  .tm-carousel { height: 460px; }
  .tm-card { height: 380px; }
  .bid-amount.free { font-size: 11px; }
  .bid-count { font-size: 10px; }
  .btn-outbid { padding: 5px 10px; font-size: 11px; }

  /* carousel */
  .tm-wrap { margin-top: 18px; margin-bottom: 0; }
  .tm-carousel { height: 300px; gap: 6px; }
  .tm-card { width: calc(100vw - 106px); height: 230px; border-radius: 14px; }
  .tm-tick { width: 54px; }
  .tm-tick .bar-tick { width: 18px; }
  .tm-tick .tm-date { right: 28px; font-size: 9px; }

  /* sections */
  section.block { padding: 26px 0; }
  #tradition.block { padding: 12px 0 20px; }
  .block h2 { font-size: 25px; }
  .container.trio { gap: 32px; }
  .trio-left { gap: 30px; }
  .step p, .block .block-sub { font-size: 13px; }
  .specs-row { padding: 10px 14px; font-size: 12.5px; }
  .specs-row .k { width: 96px; }
  .specs-head { padding: 14px; }
  .faq-q { font-size: 13.5px; padding: 15px 2px; }
  .faq-a p { padding-right: 20px; font-size: 12.5px; }

  /* who am I + footer */
  .who-photo { width: 108px; height: 108px; }
  .credit { padding: 20px 16px; }
  footer { padding: 24px 0 28px; }

  /* modal */
  .modal-backdrop { padding: 12px; align-items: flex-end; }
  .modal { max-height: 94vh; border-radius: 18px; }
  .modal-body { padding: 14px 16px 18px; }
  .modal-head { padding: 16px 16px 0; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .toast { bottom: 16px; font-size: 12px; max-width: calc(100vw - 32px); text-align: center; }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 760px) {
  .container { padding: 0 16px; }

  /* dock: drop the social icons and the CTA so the pill fits the screen */
  .nav { top: 8px; padding: 0 8px; }
  .dock { gap: 2px; padding: 6px 8px; border-radius: 22px; max-width: 100%; }
  .dock-item.social, .dock .btn-pill-dark { display: none; }
  .dock-item { width: 38px; height: 38px; }
  .dock-item svg { width: 17px; height: 17px; }
  .dock-brand { height: 38px; max-width: 30px; padding: 0 2px 0 4px; }
  .dock-brand .bname { display: none; }
  .dock-sep { margin: 0 2px; height: 20px; }
  .dock-item .dock-tip { font-size: 10px; padding: 4px 7px; }

  /* hero */
  .slider-wrap { padding: 76px 16px 0px; }
  .slide-card { width: 90px; height: 78px; }
  .slide-card .s-logo { height: 46px; }
  .slider-track { gap: 14px; }
  @keyframes slide-x { from { transform: translate3d(0,0,0) } to { transform: translate3d(calc(-50% - 7px),0,0) } }
  .hero { padding: 12px 16px 2px; }
  .hero h1 { font-size: 32px; margin: 10px 0 6px; }
  .hero .sub { font-size: 15px; }
  .visitors { font-size: 11px; flex-wrap: wrap; justify-content: center; margin-bottom: 2px; }
  .visitors .total { margin-left: 0; }
  .fundraiser { max-width: 320px; margin: 14px auto 0; text-align: center; }
  .fundraiser-top { justify-content: space-between; gap: 12px; align-items: baseline; }
  .raised { font-size: 21px; }
  .raised small { font-size: 13px; }
  .goal { font-size: 13px; }
  .bar { max-width: 100%; height: 12px; margin: 8px auto 6px; }
  .deadline { font-size: 11.5px; }

  /* stage: diploma above, cartola below, both full width */
  .stage-wrap { padding: 10px 16px 0; }
  .stage { min-height: 0; }
  .stage-duo { flex-wrap: wrap; gap: 26px; }
  .diploma-cover { flex: 1 1 100%; max-width: 400px; margin: 0 auto; padding: 14px; gap: 7px; }
  .spot-tile { min-height: 74px; padding: 9px 5px 6px; }
  .spot-tile.span1 { padding: 6px 3px 5px; }
  .spot-tile .logo { height: 34px; }
  .spot-tile .price { font-size: 10px; }
  .spot-tile.crest-tile { min-height: 84px; }
  .spot-tile.crest-tile .logo { height: 76px; }
  .tile-pill { padding: 6px 13px; font-size: 11.5px; }

  .hat-col { flex: 1 1 100%; }
  .hat2d { max-width: 300px; margin: 0 auto; }
  .hat-crown-wrap { width: 220px; height: 230px; }
  .hat-band { width: 195px; height: 46px; margin: -2px 0 -3px; gap: 3px; padding: 0 3px; }
  .band-tile { width: 34px; height: 38px; border-radius: 4px; outline-offset: -2px; }
  .band-tile .blogo { height: 16px; }
  .band-tile .plus { font-size: 11px; }
  .band-tile .price { font-size: 7px; }
  .hat-brim-wrap { width: 285px; height: 50px; margin-top: -4px; }
  #view-3d { margin: 0; padding: 0; }
  #three-canvas-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 520px;
    margin-top: -16px;
    margin-bottom: -6px;
  }

  /* auction table: compact, no size column */
  .auction-section { padding: 22px 16px 14px; }
  .auction-table th { padding: 11px 10px 8px; font-size: 10.5px; }
  .auction-table td { padding: 10px; }
  /* on mobile the number alone identifies the spot — the name is on the diploma,
     and the click tally moves under the sponsor's logo */
  .spot-label { display: none; }
  .held-wrap .click-count { display: block; }
  .spot-num { width: 32px; height: 32px; font-size: 12.5px; }
  .held-cell .mini-logo, .held-cell img.upload { height: 42px; max-width: 108px; }
  .bid-amount { font-size: 12.5px; }
  .bid-amount.free { font-size: 11px; }
  .bid-count { font-size: 10px; }
  .btn-outbid { padding: 5px 10px; font-size: 11px; }

  /* carousel */
  .tm-wrap { margin-top: 18px; margin-bottom: 0; }
  .tm-carousel { height: 300px; gap: 6px; }
  .tm-card { width: calc(100vw - 106px); height: 230px; border-radius: 14px; }
  .tm-tick { width: 54px; }
  .tm-tick .bar-tick { width: 18px; }
  .tm-tick .tm-date { right: 28px; font-size: 9px; }

  /* sections */
  section.block { padding: 26px 0; }
  #tradition.block { padding: 12px 0 20px; }
  .block h2 { font-size: 25px; }
  .container.trio { gap: 32px; }
  .trio-left { gap: 30px; }
  .step p, .block .block-sub { font-size: 13px; }
  .specs-row { padding: 10px 14px; font-size: 12.5px; }
  .specs-row .k { width: 96px; }
  .specs-head { padding: 14px; }
  .faq-q { font-size: 13.5px; padding: 15px 2px; }
  .faq-a p { padding-right: 20px; font-size: 12.5px; }

  /* who am I + footer */
  .who-photo { width: 108px; height: 108px; }
  .credit { padding: 20px 16px; }
  footer { padding: 24px 0 28px; }

  /* modal */
  .modal-backdrop { padding: 12px; align-items: flex-end; }
  .modal { max-height: 94vh; border-radius: 18px; }
  .modal-body { padding: 14px 16px 18px; }
  .modal-head { padding: 16px 16px 0; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .toast { bottom: 16px; font-size: 12px; max-width: calc(100vw - 32px); text-align: center; }
}

@media (max-width: 400px) {
  .dock-item { width: 34px; height: 34px; }
  .dock-item svg { width: 16px; height: 16px; }
  .hero h1 { font-size: 28px; }
  .band-tile { width: 32px; height: 36px; }
  .held-cell .mini-logo, .held-cell img.upload { height: 40px; max-width: 96px; }
}
