/* The family bar: the RENDEZVOUS wordmark with its turning O, then the other events' marks, top left on every
   page of the Congress, ETHDenver 10 and Rendezvous sites. Each mark links to its site and shows a
   short note on hover. Adapted from the strategy repo's brnav.css. Dark by default; .rvf.light for light headers. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(outfit-latin.woff2) format("woff2"); }

.rvf { --rvf-ink: #EEF4F3; --rvf-hover: #9ADFD8; --rvf-line: rgba(238,244,243,.18); --rvf-tile: transparent; --rvf-tile-hover: transparent;
  display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); flex: none; font-family: "Outfit", ui-sans-serif, system-ui, sans-serif; color: var(--rvf-ink); }
.rvf.light { --rvf-ink: #0A1B1D; --rvf-hover: #0B6F6A; --rvf-line: rgba(10,27,29,.22); --rvf-tile: #0A1B1D; --rvf-tile-hover: #12312F; }

/* The wordmark */
.rvf-rv { display: inline-flex; align-items: center; color: var(--rvf-ink); text-decoration: none; font: 800 17.86px/1 "Outfit", ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 8px 2px; }
.rvf-rv .o { display: inline-block; position: relative; width: .82em; height: .82em; margin: 0 .03em; vertical-align: -.06em; }
.rvf-rv .o canvas { position: absolute; inset: -14%; width: 128%; height: 128%; }
.rvf-rv:hover { color: var(--rvf-hover); text-decoration: none; }
.rvf-rv:focus-visible, .rvf-mk:focus-visible { outline: 2px solid var(--rvf-ink); outline-offset: 3px; border-radius: 8px; }

/* The marks */
.rvf-marks { display: flex; align-items: center; gap: clamp(4px, .6vw, 8px); padding-left: clamp(8px, 1.2vw, 14px); border-left: 1px solid var(--rvf-line); }
.rvf-mk { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--rvf-tile); color: var(--rvf-ink); text-decoration: none; transition: background-color .15s, transform .15s; }
.rvf-mk:hover, .rvf-mk:focus-visible { background: var(--rvf-tile-hover); transform: translateY(-1px); text-decoration: none; }
.rvf-mk .rvf-ed { position: relative; display: block; width: 38px; height: 38px; animation: rvffloat 7s ease-in-out infinite; }
.rvf-mk .rvf-ed img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rvf-mk .rvf-ed i { position: absolute; inset: 0; -webkit-mask: url(ethden10-lockup.png) center / contain no-repeat; mask: url(ethden10-lockup.png) center / contain no-repeat; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.8) 50%, transparent 65%) no-repeat; background-size: 260% 100%; animation: rvfsheen 5.5s ease-in-out infinite; }
.rvf-mk svg.rvf-tw { width: 38px; height: 38px; overflow: visible; }
.rvf-tw .petals { transform-box: view-box; transform-origin: 200px 200px; animation: rvfturn 24s linear infinite; }
.rvf-mk canvas.rvf-br { width: 40px; height: 40px; display: block; }
@keyframes rvffloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rvfsheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes rvfturn { to { transform: rotate(360deg); } }

/* The note under each mark */
.rvf-tip { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: max-content; max-width: 280px; padding: 12px 14px; border-radius: 12px; border: 1px solid #2C5559; background: rgba(7,16,19,.97); box-shadow: 0 12px 32px rgba(0,0,0,.45); color: #C9D6D4; font: 400 13.5px/1.45 "Outfit", ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: none; text-align: left; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none; }
.rvf-tip b { display: block; color: #EEF4F3; font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }
.rvf-tip em { display: block; font-style: normal; color: #22B8B0; font-weight: 600; margin-bottom: 4px; }
.rvf-mk:hover .rvf-tip, .rvf-mk:focus-visible .rvf-tip { opacity: 1; visibility: visible; transform: none; }
@media (hover: none), (max-width: 640px) { .rvf-tip { display: none; } }

/* Phones: a smaller wordmark and marks, still all there */
@media (max-width: 640px) {
  .rvf { gap: 6px; }
  .rvf-rv { font-size: 14px; letter-spacing: .06em; }
  .rvf-marks { gap: 2px; padding-left: 6px; }
  .rvf-mk { width: 32px; height: 32px; border-radius: 9px; }
  .rvf-mk .rvf-ed, .rvf-mk svg.rvf-tw { width: 26px; height: 26px; }
  .rvf-mk canvas.rvf-br { width: 28px; height: 28px; }
}
@media (max-width: 360px) { .rvf-rv { font-size: 12.5px; } .rvf-mk { width: 28px; height: 28px; } .rvf-mk .rvf-ed, .rvf-mk svg.rvf-tw { width: 22px; height: 22px; } .rvf-mk canvas.rvf-br { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .rvf-mk .rvf-ed, .rvf-mk .rvf-ed i, .rvf-tw .petals { animation: none; } }

/* square corners (J 31 Oct) */
.rvf-mk, .rvf-tip { border-radius: 2px; }

/* Rendezvous header: the bar is the brand */
.mast .rvf { margin-right: auto; }
.mast .wrap > nav { margin-left: auto; }

/* j0001: the wordmark is not a link (J, 31 Oct) */
span.rvf-rv:hover { color: var(--rvf-ink); }

/* RENDEZVOUS wordmark as SVG (J 31 Oct): fixed letter spacing, O animated over its slot */
.rvl { position: relative; display: inline-block; width: 6.9127em; line-height: 0; vertical-align: -.02em; letter-spacing: 0; }
.rvl svg { display: block; width: 100%; height: auto; overflow: visible; }
.rvl canvas.rvf-o { position: absolute; display: block; }
.rvf > .rvf-rv .rvl { width: 8.6409em; }   /* header logo 25% larger (J 31 Oct 13:58) */

/* House rule (1 Nov, John): square corners on every box, button and field. Real circles (50%) stay round. */
.btn, button:not([class*="dot"]), input:not([type="radio"]):not([type="checkbox"]), select, textarea, dialog, .pop, .rvf-mk, .rvf-tip,
.card, .hl-card, .dt-card, .dt-ic, .slot, .slot figure, .slot .n, .spk .pic, .pf, .lrow li, .row .bar, .flag, .form, .cbx-list, .cbx-list li,
.social a, .social li > a, .wk li, .wk-ce, .hlslots a, .hk-list li, .whochips li, .nums li, .seats svg, .heartbeat .panel, .perks li, .perks svg,
.present, .around-grid section, .film-toggle, .chip, .chip span, .menu-btn, .mast .btn, .cg-pop, .sheet, .cal-top .cal-btns .btn { border-radius: 0 !important; }
.contents a, .cf-nav a, .hack-side, .hack-side img { border-radius: 0 !important; }

/* Justin, 2 Nov: the word above the RENDEZVOUS wordmark in white for readability; topword.js sets it to 85% of the wordmark's width */
.cal-off--top b { color: #fff; }
/* Three marks on every header (2 Nov): smaller on phones so the buttons still fit beside them */
@media (max-width: 480px) {
  .rvf { gap: 4px; } .rvf-marks { gap: 2px; padding-left: 6px; margin-left: 2px; }
  .rvf-mk { width: 26px; height: 26px; } .rvf-mk .rvf-ed, .rvf-mk svg.rvf-tw { width: 21px; height: 21px; } .rvf-mk canvas.rvf-br { width: 22px; height: 22px; }
  .rvf > .rvf-rv .rvl, .rvf-home .rvl { width: 6.6em; }
}

/* Justin, 2 Nov (item 1): the Rendezvous hover card matches the other two, in its own teal-blue */
.rvf-mk[aria-label="Rendezvous"] .rvf-tip { border-color: #22B8B0; background: linear-gradient(160deg, rgb(11 52 56 / .97), rgb(7 22 26 / .98)); box-shadow: 0 12px 32px rgba(0,0,0,.45), 0 0 24px rgb(34 184 176 / .28); }
.rvf-mk[aria-label="Rendezvous"] .rvf-tip em { color: #22B8B0; }
.rvf-tip em { font-weight: 700 !important; }

/* Training Day, the AI event (Justin, Nov 24): four steps, 101 to 401, light up in turn. Added by tools/ai_event_site. */
.rvf-mk svg.rvf-ai { width: 38px; height: 38px; overflow: visible; }
.rvf-ai rect { fill: #FFB547; opacity: .35; animation: aistep 4s ease-in-out infinite; }
.rvf-ai rect:nth-child(2) { animation-delay: .5s; } .rvf-ai rect:nth-child(3) { animation-delay: 1s; } .rvf-ai rect:nth-child(4) { animation-delay: 1.5s; }
.rvf-ai circle { fill: #B8F05A; animation: aidot 4s ease-in-out infinite; animation-delay: 2s; }
@keyframes aistep { 0%, 100% { opacity: .35; } 25%, 60% { opacity: 1; } }
@keyframes aidot { 0%, 100% { opacity: .3; } 30%, 60% { opacity: 1; } }
@media (max-width: 640px) { .rvf-mk svg.rvf-ai { width: 26px; height: 26px; } }
@media (max-width: 480px) { .rvf-mk svg.rvf-ai { width: 21px; height: 21px; } }
@media (prefers-reduced-motion: reduce) { .rvf-ai rect, .rvf-ai circle { animation: none; opacity: 1; } }
