:root { --rush: #fb7f25; --hara: #7ac4f3; --tecno: #77d86f; --boatismo: #fd76b1; }
@property --club-intensity { syntax: '<number>'; inherits: true; initial-value: 0; }
.rush { --accent: var(--rush); --phase: 0; }
.hara { --accent: var(--hara); --phase: -.25; }
.tecno { --accent: var(--tecno); --phase: -.5; }
.boatismo { --accent: var(--boatismo); --phase: -.75; }
.feature, .boatismo { background-color: #fff; transition: background-color 280ms ease; }
.photo { filter: none; }
.photo > img { filter: grayscale(1); }
.photo::after { content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none; background-image: url('assets/referencia-cor.jpeg'); background-repeat: no-repeat; transition: opacity 280ms ease; }
.photo-rush::after { background-size: 682.6667% 281.3187%; background-position: 20.7475% 27.5758%; }
.photo-hara::after { background-size: 653.617% 281.3187%; background-position: 59.5696% 27.5758%; }
.photo-tv::after { background-size: 653.617% 281.3187%; background-position: 99.0776% 27.5758%; }
.features { container-type: inline-size; }
.tecno { grid-template-columns: 50cqw minmax(0, 1fr); }
.tecno-logo { display: block; width: 50cqw; height: auto; object-fit: contain; margin-top: 0; }
@media (min-width: 761px) {
  .tecno { grid-template-columns: calc(100cqw / 6) minmax(0, 1fr); }
  .tecno-logo { width: calc(100cqw / 6); }
}
.tecno .feature-copy { justify-content: flex-start; }
.eyebrow { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.boatismo figure { min-width: 0; }
.boatismo blockquote { font-family: 'Libre Baskerville', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: normal; text-wrap: balance; }
.boatismo figcaption { padding-left: 0; text-indent: 7px; }
@media (min-width: 761px) {
  .boatismo { grid-template-columns: 14vw minmax(0, 1fr) 14vw; }
  .boatismo::after { content: ''; }
  .boatismo figure { grid-column: 2; }
  .boatismo blockquote { margin-bottom: 1svh; }
}
.seal-button { display: block; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.seal-button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.boatismo.is-visible .seal { animation: beckon 3.2s ease-in-out infinite; }
@media (hover: hover) {
  .feature:hover, .boatismo:hover { background-color: var(--accent); }
  .feature:hover .photo::after { opacity: 1; }
}
.feature:focus-within, .boatismo:has(.seal-button:focus-visible) { background-color: var(--accent); }
.feature:focus-within .photo::after { opacity: 1; }
body.party { --club-intensity: 1; --club-period: 3.2s; transition: --club-intensity .6s ease; }
body.party.party-full { --club-period: 1.8s; }
body.party .feature, body.party .boatismo { animation: club-colors var(--club-period) ease-in-out infinite; animation-delay: calc(var(--club-period) * var(--phase)); }
body.party .photo::after { animation: club-photos var(--club-period) ease-in-out infinite; animation-delay: calc(var(--club-period) * var(--phase)); }
body.party .seal { animation: none; opacity: 1; }
@media (hover: hover) {
  body:has(.brand:hover) .feature,
  body:has(.brand:hover) .boatismo { animation: none; background-color: var(--accent); }
  body:has(.brand:hover) .photo::after { animation: none; opacity: 1; }
}
@keyframes beckon { 0%, 100% { opacity: 1; } 50% { opacity: .12; } }
@keyframes club-colors { 0%, 100% { background-color: color-mix(in srgb, var(--accent) calc(var(--club-intensity) * 100%), #fff); } 50% { background-color: #fff; } }
@keyframes club-photos { 0%, 100% { opacity: var(--club-intensity); } 50% { opacity: 0; } }
body.effects-paused .boatismo .seal { animation: none; opacity: 1; }
body.effects-paused .feature, body.effects-paused .boatismo, body.effects-paused .photo::after { transition: none; }
@media (max-width: 999px) and (min-width: 761px) {
  .masthead { gap: 12px; }
  .brand { width: min(50vw, 88.4svh); max-width: 50vw; }
  .masthead nav { gap: 1.6vw; font-size: min(1.5vw, 2.8svh); }
  .search { width: 2.8vw; height: 2.8vw; }
}
@media (max-width: 760px) {
  .masthead nav { flex-wrap: wrap; }
  .tecno-logo { width: 50cqw; }
  .boatismo { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature, .boatismo, .photo::after { transition: none; }
  .boatismo.is-visible .seal { animation: none; }
  body.party .feature, body.party .boatismo { animation: none; background-color: var(--accent); }
  body.party .photo::after { animation: none; opacity: 1; }
}
