/* design/home-preview/css/brand.css
   Purpose: the logo intro cover and the turning emblem beside the contact form.
   NOT for: nav/logo sizes (base.css).
   WHY the cover takes pointer events until it is removed (also while fading): a touch ends the intro on touchstart, but the
   browser aims the click at touchend — a cover that let go on fade-out passed that click to the hidden link below. */
.intro body { overflow: hidden; }
.intro::after { content: ""; position: fixed; inset: 0; z-index: 90; background: var(--ink); } /* first paint, before intro.js */
.intro__cover { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 1.4rem;
  background: var(--ink); transition: opacity .7s var(--ease); }
html:not(.intro) .intro__cover { display: none; } /* the 5 s cap in index.html also hides a cover intro.js failed to remove */
.intro--out .intro__cover, .intro--out::after { opacity: 0; transition: opacity .7s var(--ease); }
.intro__mark { width: min(70vw, 400px); height: auto; aspect-ratio: 300 / 220; }
.intro__word { width: min(50vw, 260px); height: auto; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.intro--word .intro__word { opacity: 1; transform: none; }

.emblem { display: block; width: min(64vw, 260px); height: auto; aspect-ratio: 300 / 220; margin: 0 0 2rem -1.4rem;
  background: radial-gradient(42% 9% at 50% 84%, rgba(0,0,0,.45), transparent 70%); } /* soft floor shadow: a sculpture, not a sticker */
.emblem:empty { display: none; } /* without JS the SVG stays empty: no stray floor shadow, no blank gap */
