/* The top of the site: a bare bar from edge to edge (the name at one end, one quiet line and one button at the other),
   and on the home page what the shop is in three lines, with the line of models named under the buttons. The planet
   keeps its place to the right (system.css). */

/* bar */
.bar { background: rgba(5, 8, 11, .35); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bar .wrap { max-width: none; margin: 0; padding: 0 clamp(16px, 2.2vw, 28px); height: 58px; gap: 8px; }
.bar nav { display: flex; gap: 2px; font-size: 13.5px; }
.bar nav a { padding: 7px 10px; white-space: nowrap; }
.bar .btn { height: 36px; padding: 0 17px; font-size: 13.5px; margin-left: 6px; }
@media (max-width: 720px) { .bar nav { display: flex; } .bar .wrap { gap: 4px; } }
@media (max-width: 420px) { .bar nav a.zdr { font-size: 12px; padding: 7px 4px; } }
@media (max-width: 350px) { .bar nav { display: none; } }

/* home: the hero runs up under the bar */
.hero { margin-top: -59px; }
.hero-copy { width: min(740px, calc(100% - 48px)); padding-top: clamp(150px, 14vw, 220px); padding-bottom: 80px; }
.hero .hero-copy h1 { font-size: clamp(34px, 4.7vw, 70px); line-height: 1.04; }
.hero .hero-copy h1 span { white-space: nowrap; }
:lang(zh-CN) .hero .hero-copy h1 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.16; }

/* the line, named under the buttons */
.hero-line { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 46px; font-size: 13px; color: #7f8a95; }
.hero-line a { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; transition: color .15s; }
.hero-line a:hover { color: var(--ink); }
.hero-line img { width: 16px; height: 16px; opacity: .6; transition: opacity .15s; }
.hero-line a:hover img { opacity: 1; }
html.js .hero .hero-line { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .7s; }
html.intro-on .hero .hero-line { animation-play-state: paused; }

@media (max-width: 900px) {
  .hero { margin-top: 0; }
  .hero-copy { padding-top: 56px; padding-bottom: 64px; }
  .hero-line { justify-content: center; flex-wrap: nowrap; margin: 40px auto 0; }
  /* one row, never a name left over on a second line: the line sheds names as the screen narrows */
  .hero-line a:nth-child(n+5) { display: none; }
}
@media (max-width: 640px) { .hero-line a:nth-child(n+4) { display: none; } }
@media (max-width: 400px) { .hero-line a:nth-child(n+3) { display: none; } }

/* "Freedom." burns (28 Nov 2026, Hunter: "make the freedom kinda be on fire"): molten lettering that heats and cools,
   edges that flicker through the flame filter in the hero's markup, a glow, and a few embers rising off it. */
.fire-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero .hero-copy h1 span.fire { position: relative; padding-right: .04em;
  background: linear-gradient(0deg, #7a0f00 0%, #d62a06 22%, #ff5a1f 42%, #ff9a3c 62%, #ffd27a 80%, #fff1c9 100%);
  background-size: 100% 220%; background-position: 50% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: url(#flame) drop-shadow(0 0 14px rgba(255, 90, 31, .55)) drop-shadow(0 -6px 30px rgba(255, 140, 40, .35)); }
/* its own rise: the shared one ends on filter: none and holds it, which would put the flame out */
@keyframes riseFire { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
html.js .hero .hero-copy h1 span.fire { animation: riseFire 1s cubic-bezier(.2, .7, .2, 1) both, burn 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 110ms + 80ms), 1.2s; }
html.intro-on .hero .hero-copy h1 span.fire { animation-play-state: paused; }
@keyframes burn { 0%, 100% { background-position: 50% 100%; } 50% { background-position: 50% 62%; } }
/* embers: small sparks leaving the top of the word */
.hero .hero-copy h1 span.fire::after { content: ""; position: absolute; left: 4%; right: 8%; bottom: 70%; height: 1.1em; pointer-events: none;
  background:
    radial-gradient(circle, #ffd27a 0 1.5px, transparent 2.5px) 12% 100% / 100% 100% no-repeat,
    radial-gradient(circle, #ff8a3c 0 1.5px, transparent 2.5px) 38% 100% / 100% 100% no-repeat,
    radial-gradient(circle, #ffc061 0 2px, transparent 3px) 61% 100% / 100% 100% no-repeat,
    radial-gradient(circle, #ff6a24 0 1.5px, transparent 2.5px) 84% 100% / 100% 100% no-repeat;
  -webkit-text-fill-color: initial; animation: embers 2.6s linear infinite; opacity: 0; }
@keyframes embers {
  0% { transform: translateY(18px); opacity: 0; }
  15% { opacity: .95; }
  100% { transform: translateY(-34px) translateX(6px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-copy h1 span.fire { animation: none !important; filter: drop-shadow(0 0 14px rgba(255, 90, 31, .55)); background-position: 50% 80%; }
  .hero .hero-copy h1 span.fire::after { display: none; }
}
