@font-face{font-family:Sinistre;src:url('../assets/fonts/SinistreVF.woff2') format('woff2');font-weight:400 900;font-display:swap}
/* the Leseecke's stories read like a book: Literata (OFL, made for e-books), hosted here */
@font-face{font-family:Literata;src:url('../assets/fonts/literata-latin-wght-normal.woff2') format('woff2-variations');font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:Literata;src:url('../assets/fonts/literata-latin-wght-italic.woff2') format('woff2-variations');font-weight:200 900;font-style:italic;font-display:swap}
@font-face{font-family:HandrealHeart;src:url('../assets/fonts/HandrealHeart.woff2') format('woff2');font-display:block;unicode-range:U+2661}

:root{
  color-scheme:dark;
  --pearl:#f5f1e7;
  --ink:#e4eeec;
  --muted:#a9c0c6;
  --mint:#a8ded0;
  --teal:#52e5bb;
  --phthalo:#075446;
  --navy:#071a35;
  --deep:#01060f;
  --gold:#e8c987;
  --line:rgba(190,250,232,.2);
  --glass:rgba(5,22,40,.42);
  --glass-hi:rgba(160,255,230,.12);
  --serif:Sinistre,'Iowan Old Style',Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,sans-serif;
  --mono:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;
  --gutter:clamp(18px,5vw,88px);
  --top:calc(clamp(74px,10vh,104px) + env(safe-area-inset-top));
  --bottom:calc(clamp(112px,15vh,138px) + env(safe-area-inset-bottom));
  --ease:cubic-bezier(.22,.8,.24,1);
  --swim:4.2s;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--deep);color:var(--ink);font:400 17px/1.65 var(--sans);-webkit-font-smoothing:antialiased;overflow:hidden;overscroll-behavior:none}
h1,h2,h3,p,figure{margin:0}
h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.035em;line-height:1.02;color:var(--pearl);text-wrap:balance}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default}
:focus-visible{outline:2px solid var(--teal);outline-offset:4px;border-radius:12px}
::selection{background:#0b7261;color:var(--pearl)}
svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:fixed;left:12px;top:-60px;z-index:60;padding:10px 16px;border-radius:999px;background:var(--navy);transition:top .2s}
.skip-link:focus{top:12px}

/* ------------------------------------------------------------ stage */
#stage{position:fixed;left:0;top:0;width:100%;height:100%;height:100lvh;display:block;z-index:0}   /* the tallest the window gets: steady while a phone's toolbar slides */
.dolphin-still{position:fixed;z-index:1;display:none;pointer-events:none;object-fit:contain;filter:drop-shadow(0 0 24px #4fe3c955);opacity:0;transition:all var(--swim) var(--ease),opacity .8s cubic-bezier(.65,0,.35,1)}
.dolphin-still.placed{opacity:1}   /* (hidden until js/main.js has put it in its place) */
.no-webgl .dolphin-still{display:block}
.no-webgl body,.no-webgl{background:var(--deep) url('../assets/images/nebula-light.webp') center/cover}

/* ------------------------------------------------------------ glass */
.glass,.glass-button{
  background:linear-gradient(160deg,var(--glass-hi),transparent 46%),var(--glass);
  border:1px solid var(--line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -12px 24px rgba(0,30,45,.35),0 12px 40px rgba(0,8,20,.35);
  -webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);
}
.glass-button{position:relative;display:inline-flex;align-items:center;gap:14px;height:56px;padding:0 26px 0 30px;border-radius:999px;font-family:var(--serif);font-size:21px;letter-spacing:-.01em;color:var(--pearl);overflow:hidden;isolation:isolate;transition:transform .5s var(--ease),border-color .4s,box-shadow .4s}
.glass-button::before{content:'';position:absolute;inset:-40%;z-index:-1;background:conic-gradient(from var(--spin,0deg),transparent 0 60%,#52e5bb66 72%,#9fd7ff55 80%,transparent 92%);opacity:0;transition:opacity .5s;animation:glint 4.5s linear infinite}
.glass-button::after{content:'';position:absolute;inset:1px;border-radius:inherit;z-index:-1;background:linear-gradient(160deg,#0c3a4cdd,#03142acc)}
.glass-button:hover,.glass-button:focus-visible{transform:translateY(-2px) scale(1.03);border-color:#7ff3d566;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 0 1px #52e5bb22,0 14px 50px #11c7a133}
.glass-button:hover::before,.glass-button:focus-visible::before{opacity:1}
.glass-button .arrow{font-family:var(--sans);font-size:18px;transition:transform .5s var(--ease)}
.glass-button:hover .arrow{transform:translateX(4px)}
@property --spin{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes glint{to{--spin:360deg}}
.icon-button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:transparent;transition:background .25s,color .25s}
.icon-button:hover{background:#a8ded014;color:var(--mint)}
.icon-button svg{width:27px;height:27px}

/* ------------------------------------------------------------ buttons (after the live build)
   The discovery buttons are "spells": a liquid-glass lens drawn by the stage
   (it refracts the live scene), a flowing rim, mist, a circling wave and a
   dust halo on hover; the element itself only carries the label and grows in
   place. Without the stage they fall back to frosted CSS glass. */
.button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:10px 31px;border:1px solid #caeee0cc;border-radius:100px;font-family:Georgia,serif;font-size:20px;line-height:1.4;color:var(--pearl)}
.spell-button{position:relative;isolation:isolate;min-height:55px;padding:11px 34px;gap:25px;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;
  background:#c8fff211;border-color:#e5fff383;box-shadow:inset 0 1px 1px #f0fff57a,inset 0 -1px 1px #8bbbc347,0 5px 15px #0011223b;
  -webkit-backdrop-filter:blur(10px) saturate(150%);backdrop-filter:blur(10px) saturate(150%);text-shadow:0 1px 4px #002326,0 0 15px #d5ffe16b;
  transform-origin:center;will-change:transform;backface-visibility:hidden;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s,border-color .45s}
.spell-button .spell-label{display:block;flex:0 0 auto;white-space:nowrap;letter-spacing:.01em}
.spell-button .spell-arrow{display:grid;place-items:center;font-family:var(--sans);font-size:23px;font-weight:300;filter:drop-shadow(0 0 6px #b6ffdf);transform:translate3d(0,0,0);transition:transform .4s}
.spell-button .spell-arrow svg{width:22px;height:22px;stroke-width:1.4}
.spell-button:hover,.spell-button:focus-visible{transform:scale(1.065);border-color:#effff8bf}
.spell-button:hover .spell-arrow,.spell-button:focus-visible .spell-arrow{transform:translate3d(4px,0,0)}
.spell-button:active{transform:scale(1.025)}
.live-glass .spell-button,.live-glass .spell-button:hover,.live-glass .spell-button:focus-visible{background:transparent;border-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transform:translate3d(0,0,0) scale(var(--spell-scale,1));transition:none}
.live-glass .spell-button:active{transform:translate3d(0,0,0) scale(calc(var(--spell-scale,1)*.985))}
.spell-button:focus-visible{outline-offset:8px;border-radius:100px}

/* ------------------------------------------------------------ header + footer */
.site-header{position:fixed;z-index:30;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:calc(18px + env(safe-area-inset-top)) var(--gutter) 0;pointer-events:none}
.site-header>*{pointer-events:auto}
.brand{display:flex;align-items:center;gap:14px;font-family:var(--serif);font-size:clamp(30px,3vw,46px);line-height:1;letter-spacing:-.055em;color:var(--pearl);white-space:nowrap}
.brand img{width:34px;height:54px;object-fit:contain}
.heart{font-family:HandrealHeart,var(--serif)}
.header-end{display:flex;align-items:center;gap:30px}
.maker{font:13px/1 var(--mono);letter-spacing:.06em;color:var(--pearl)}
@media (max-width:900px){.header-end{gap:18px}}
#music .mute{display:none}#music[aria-pressed=false] .waves{display:none}#music[aria-pressed=false] .mute{display:block}
.site-footer{position:fixed;z-index:30;left:10px;right:10px;bottom:calc(14px + env(safe-area-inset-bottom));text-align:center;font:11px/1.5 var(--mono);letter-spacing:.06em;color:#bbcfdfae}
.site-footer a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#8fa9b255}
.site-footer a:hover{color:var(--pearl)}

/* ------------------------------------------------------------ dock */
.dock{position:fixed;z-index:30;left:50%;bottom:calc(43px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:17px}
.dock-pills{position:relative;display:grid;grid-template-columns:repeat(6,1fr);width:clamp(780px,62vw,940px);padding:7px;border:1px solid #cceefa3d;border-radius:100px;isolation:isolate;overflow:hidden;clip-path:inset(0 round 999px);
  background:linear-gradient(160deg,#cdeeff10,#0a294b26 48%,#bbffe50a);box-shadow:inset 0 1px 1px #efffff42,inset 0 -1px 1px #89b6d42b,0 8px 28px #00102424;-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%)}
.dock-pills a{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border-radius:999px;font-family:var(--mono);font-size:13px;letter-spacing:.02em;white-space:nowrap;color:var(--pearl);opacity:.8;transition:opacity .25s}
.dock-pills a:hover,.dock-pills a[aria-current]{opacity:1}
.pill-face{display:block;pointer-events:none}
.pill-face .ch{display:inline-block;transform-origin:50% 100%}   /* (letters on the ribbon's coin rim, set by js/main.js) */
.dock-pills a:focus-visible{outline-offset:-5px}
.dock-indicator{position:absolute;top:7px;bottom:7px;left:7px;width:calc((100% - 14px)/6);border:1px solid #e3f5f889;border-radius:100px;pointer-events:none;
  background:linear-gradient(155deg,#efffff15,#bceeff04 48%,#79ddc40c);box-shadow:inset 0 1px 1px #fff8,inset 0 -1px 2px #98d0e12e,0 2px 9px #00000012;
  transform:translateX(calc(var(--i,0)*100%));transition:transform .8s cubic-bezier(.22,.8,.25,1)}
.dock-arrow{display:grid;place-items:center;min-width:52px;min-height:52px;border:1px solid #d5edf366;border-radius:50%;isolation:isolate;overflow:hidden;clip-path:circle(50%);transition:opacity .25s,background .25s;
  background:linear-gradient(145deg,#d9f7ff12,#08294b3d 58%,#8bdfd710);box-shadow:inset 0 1px 1px #f3ffff42,inset 0 -1px 1px #9bd1e331,0 5px 18px #00182a20;-webkit-backdrop-filter:blur(16px) saturate(155%);backdrop-filter:blur(16px) saturate(155%)}
.dock-arrow svg{width:20px;height:20px;stroke-width:1.3}
.dock-arrow:hover:not(:disabled){background:linear-gradient(145deg,#d9fff226,#0a615a42 60%,#8bdfd719)}
.dock-arrow:disabled{opacity:.3}
.dock-arrow:focus-visible{outline-offset:-5px}
/* the stage draws the capsule and arrows as lenses over the live scene */
.live-glass .dock-pills,.live-glass .dock-arrow,.live-glass .dock-arrow:hover:not(:disabled){background:transparent;border-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.live-glass .dock-arrow:hover:not(:disabled) svg{color:var(--mint)}
@media (max-width:900px){.dock{gap:12px}.dock-arrow{min-width:45px;min-height:45px}}
/* narrow screens: the menu is a ribbon (js/main.js): the current page in the
   middle under a fixed lens, its neighbours peeking in and fading out */
@media (max-width:1000px){
  .dock-pills{--rib:138px;display:flex;width:min(760px,calc(100vw - 142px));overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x}
  .dock-pills::-webkit-scrollbar{display:none}
  .dock-pills::before,.dock-pills::after{content:'';flex:0 0 calc(50% - var(--rib)/2)}
  .dock-pills a{flex:0 0 var(--rib);padding:0 6px;font-size:12px;scroll-snap-align:center;transition:none}
  .dock-indicator{position:sticky;left:calc(50% - var(--rib)/2);top:auto;bottom:auto;align-self:stretch;flex:0 0 var(--rib);width:auto;margin-right:calc(-1 * var(--rib));transform:none;transition:none}
}

/* ------------------------------------------------------------ chapters */
#main{position:fixed;inset:0;z-index:10;outline:none}
.chapter{position:absolute;inset:0;padding:var(--top) var(--gutter) var(--bottom);visibility:hidden;opacity:0;pointer-events:none;transform-origin:50% 50%;will-change:transform,opacity}
.chapter{touch-action:pan-y}.chapter-home{touch-action:none}
.chapter.active{pointer-events:auto}
.turning .chapter{pointer-events:none}.turning .chapter-scroll{overflow:hidden}
.chapter-scroll{position:relative;height:calc(100% + var(--fade-top));margin-top:calc(-1 * var(--fade-top));padding-top:var(--fade-top);padding-bottom:34px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(transparent,#000 var(--fade-top),#000 calc(100% - var(--more)),transparent);mask-image:linear-gradient(transparent,#000 var(--fade-top),#000 calc(100% - var(--more)),transparent);transition:--more .9s cubic-bezier(.4,0,.2,1)}
.chapter-scroll::-webkit-scrollbar{display:none}
/* every chapter's scrolling area reaches up under the header by its top fade,
   with the same room inside: the fade happens behind the header strip, the
   content starts where it always did and never sits in the fade at rest */
:root{--fade-top:22px}
.dolphin-anchor{pointer-events:none}

.eyebrow{font:12px/1 var(--mono);letter-spacing:.42em;text-transform:uppercase;color:var(--mint)}
.eyebrow span{color:var(--teal);margin:0 .5em}
.lede{font-size:clamp(17px,1.35vw,21px);color:var(--ink)}
.phone-break{display:none}
@media (max-width:760px){.phone-break{display:inline}}
.soft{color:var(--muted)}

/* home */
.chapter-home{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;text-align:center;gap:clamp(4px,1.2vh,16px);padding-top:calc(var(--top) - 24px)}
.chapter-home .dolphin-anchor{width:min(92vw,60vh);height:100%;min-height:160px;pointer-events:auto;cursor:grab}
.chapter-home .dolphin-anchor:active{cursor:grabbing}
.chapter-home .copy{display:grid;justify-items:center;gap:clamp(10px,1.7vh,20px);padding-bottom:clamp(0px,1vh,12px)}
.chapter-home h1{font-size:clamp(44px,min(6vw,9.5vh),100px)}
.chapter-home .dolphin-anchor{position:relative}
/* desktop: quieter copy, a larger dolphin */
@media (min-width:1100px) and (min-aspect-ratio:5/4){
  .chapter-home{gap:clamp(2px,0.8vh,10px)}
  .chapter-home .dolphin-anchor{width:min(92vw,82vh)}
  .chapter-home .copy{gap:clamp(8px,1.25vh,15px)}
  .chapter-home h1{font-size:clamp(38px,min(4.5vw,7.2vh),80px)}
  .chapter-home .eyebrow{font-size:11px}
  .chapter-home .lede{font-size:clamp(15px,1.1vw,18px)}
  .chapter-home .spell-button{font-size:17px;min-height:48px;padding:9px 28px;gap:20px}
  .chapter-home .spell-button .spell-arrow{font-size:20px}
}
.dolphin-hint{position:absolute;left:calc(50% + min(18vw,26vh));bottom:12%;font:11px/1 var(--mono);letter-spacing:.2em;color:#a8ded099;opacity:0;transition:opacity 1.2s;pointer-events:none;white-space:nowrap}
.show-hint .chapter-home.active .dolphin-hint{opacity:1}
.dolphin-hint.placed{left:var(--hint-x);top:var(--hint-y);bottom:auto;transform:translateX(-50%)}
.hint-touch{display:none}@media (hover:none){.hint-touch{display:inline}.hint-mouse{display:none}}

/* shop: the heading and its words beside the dolphin, the collection below */
.chapter-shop .chapter-scroll{display:block;margin-inline:-72px;padding-inline:72px}   /* room for the pieces' glow and orbits */
.shop-intro{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.1fr) minmax(0,.75fr);grid-template-rows:1fr auto;grid-template-areas:'. title anchor' '. text anchor';align-items:end;justify-items:center;text-align:center;column-gap:clamp(16px,3vw,56px);row-gap:12px;margin-bottom:clamp(16px,3.5vh,40px)}   /* the text in the middle, the dolphin beside it facing in */
.shop-intro .dolphin-anchor{grid-area:anchor;justify-self:stretch;height:clamp(190px,30vh,330px)}
.shop-intro h2{grid-area:title;font-size:clamp(36px,4.2vw,64px)}
.shop-intro p{grid-column:2;max-width:41ch;font-size:clamp(15px,1.2vw,17px)}
.shop-intro p:first-of-type{grid-area:text}
.shop-intro .soft{display:none}

/* the Unikate, after the live build */
.product-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 26px;padding:10px 0 40px}
.product-card{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
/* each piece in its own box, like the entries of Wissenswertes and the Leseecke (its glow and wisps may reach past the edge) */
.product-card{cursor:pointer;transition:border-color .45s cubic-bezier(.65,0,.35,1),background .45s cubic-bezier(.65,0,.35,1);padding:clamp(16px,2vw,24px) clamp(10px,1.4vw,18px) clamp(14px,1.8vw,20px);border:1px solid var(--line);border-radius:22px;background:linear-gradient(160deg,rgba(14,48,74,.55),rgba(3,16,32,.62))}
.product-card:hover{border-color:var(--line-hi,rgba(190,250,232,.42))}
.product-card .product-image-button{cursor:pointer}
.orbit{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none}
.product-image-button{position:relative;display:block;width:min(100%,clamp(120px,20vh,220px));justify-self:center;aspect-ratio:1;padding:0;border:0;background:transparent;cursor:default;isolation:isolate}
.product-image-button.is-artifact-hovered{cursor:pointer}
.product-image-button img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;opacity:1;
  filter:brightness(1) drop-shadow(0 10px 16px #00000032) drop-shadow(0 0 1px #e2fff400) drop-shadow(0 0 3px #52e5bb00) drop-shadow(0 0 11px #008e9900);
  transition:opacity .55s ease,transform .75s cubic-bezier(.22,.8,.25,1),filter .75s cubic-bezier(.22,.8,.25,1)}
.product-image-button.is-artifact-hovered img,.product-image-button:focus-visible img{opacity:1;transform:scale(1.04);
  filter:brightness(1.07) drop-shadow(0 10px 16px #00000032) drop-shadow(0 0 1px #e2fff4d9) drop-shadow(0 0 3px #52e5bbbc) drop-shadow(0 0 11px #008e997a)}
.product-image-button:focus-visible{outline:none}
.product-image-button .orbit-back{z-index:0}.product-image-button .orbit-front{z-index:2}
.motion .product-image-button img{animation:unikate-float 7s ease-in-out infinite;will-change:translate}
.motion .product-card:nth-child(3n + 2) img{animation-delay:-2.4s}
.motion .product-card:nth-child(3n) img{animation-delay:-4.8s}
.motion [data-slow-turn] img{animation:unikate-float 7s ease-in-out infinite,unikat-slow-turn 100s linear infinite;will-change:translate,rotate}
.motion .chapter-shop:not(.active) [data-slow-turn] img,body:has(#product[open]) [data-slow-turn] img{animation-play-state:paused}
@keyframes unikate-float{0%,100%{translate:0 1.5px}50%{translate:0 -2.5px}}
@keyframes unikat-slow-turn{to{rotate:360deg}}
.product-meta{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.product-meta h3{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(20px,2vw,27px);line-height:1.12;letter-spacing:-.04em;color:var(--pearl)}
.product-category{font-family:var(--mono);font-size:11px;color:var(--muted)}

/* about */
.chapter-about .chapter-scroll{display:grid;grid-template-columns:minmax(200px,26%) minmax(0,1fr) minmax(220px,30%);gap:clamp(20px,3.4vw,60px);align-items:center}
.chapter-about .dolphin-anchor{height:min(62vh,560px)}
.story{display:grid;gap:18px;max-width:46ch}
.story-text{display:grid;gap:18px}   /* (her paragraphs, one editable place) */
.own-photo .pendant-flare{display:none}   /* (the sparkle belongs to the original photo) */
.story h2{font-size:clamp(40px,4.2vw,70px);margin-bottom:8px}
/* Andrea's own signature (tools/trace-signature.py), in gold, a warm glow */
.signature{margin:8px 0 0;transform:rotate(-3deg);transform-origin:left}
.signature svg{display:block;width:min(100%,250px);height:auto;overflow:visible;fill:url(#signature-gold);stroke:none;filter:drop-shadow(0 0 8px #e2b86440) drop-shadow(0 1px 2px #0008)}
@media (max-width:760px){.signature svg{width:min(100%,200px)}}
/* written, the first time the Andrea page is reached (as on sinahoffmann.de):
   wide pens follow each stroke in writing order and uncover the signature
   beneath (a mask, source/signature/strokes-andrea.py); the whole signature
   settles in under it all (covering the pens' edges) */
.signature .pen{fill:none;stroke:#fff;stroke-width:6.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 2;stroke-dashoffset:0}
.signature.unwritten .pen{stroke-dashoffset:1}
.signature.unwritten .sig-whole{opacity:0}
.signature.writing .pen{transition:stroke-dashoffset var(--dur) cubic-bezier(.45,.05,.4,1) var(--at)}
.signature.writing .sig-whole{transition:opacity .7s cubic-bezier(.65,0,.35,1) var(--at)}
/* she sits a little low, so her upward look meets the dolphin */
.portrait{order:3;position:relative;aspect-ratio:3/4;width:min(100%,38vh);justify-self:center;align-self:center;translate:0 clamp(36px,11vh,120px)}
/* a clean cutout: the soft, curved base is in the asset itself (tools/clean-portrait.py);
   no mask, which would clip a shadow to the image's square box */
.portrait img{position:relative;width:100%;height:100%;object-fit:contain;filter:saturate(.92) contrast(1.02) drop-shadow(0 8px 16px rgba(0,8,20,.32))}
/* a full picture (with its own background), shown as it is and faded out on a circle */
/* a vertical oval with an eased (smoothstep) fall-off */
.portrait.portrait-sea{aspect-ratio:5/6;width:min(100%,42vh)}
/* her emerald dolphin catches the light now and then (js/pendant-flare.js):
   centred on the white glint of its back (520, 1196 of the 1024×1536 image),
   through the 5:6 cover window at 60 % → 50.8 % / 82.3 % of the frame */
.pendant-flare{position:absolute;left:50.8%;top:80.5%;width:30%;aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none}
.portrait-sea img{filter:none;object-fit:cover;object-position:50% 60%;-webkit-mask-image:radial-gradient(ellipse closest-side,#000 42%,rgba(0,0,0,.91) 53%,rgba(0,0,0,.77) 61%,rgba(0,0,0,.6) 68%,rgba(0,0,0,.41) 76%,rgba(0,0,0,.23) 84%,rgba(0,0,0,.09) 92%,transparent 100%);mask-image:radial-gradient(ellipse closest-side,#000 42%,rgba(0,0,0,.91) 53%,rgba(0,0,0,.77) 61%,rgba(0,0,0,.6) 68%,rgba(0,0,0,.41) 76%,rgba(0,0,0,.23) 84%,rgba(0,0,0,.09) 92%,transparent 100%)}

/* contact */
/* Wissenswertes and Leseecke: Andrea's entries (js/reading.js) */
.chapter-reading .chapter-scroll{display:block}
.chapter-reading{text-align:center}
/* the text in the middle; the dolphin beside it, left on Wissenswertes (facing the text), right on the Leseecke */
.reading-intro{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.1fr) minmax(0,.75fr);grid-template-rows:1fr auto;align-items:end;justify-items:center;column-gap:clamp(16px,3vw,56px);row-gap:12px;padding-top:14px;margin-bottom:clamp(20px,4vh,48px)}
.chapter-wissen .reading-intro{grid-template-areas:'anchor title .' 'anchor text .'}
.chapter-lesen .reading-intro{grid-template-areas:'. title anchor' '. text anchor'}
.reading-intro .dolphin-anchor{grid-area:anchor;justify-self:stretch;height:clamp(170px,27vh,300px)}
.reading-intro h2{grid-area:title;font-size:clamp(34px,4vw,60px)}
.reading-intro p{grid-area:text;max-width:46ch;font-size:clamp(15px,1.2vw,17px)}
.entries-empty{max-width:52ch;margin-inline:auto}
.entries:not([data-ready]) .entries-empty{visibility:hidden}   /* (only once the catalog has answered: no flash of it before her entries) */
.entries-wissen{display:flex;justify-content:center;align-items:flex-start;gap:clamp(14px,1.8vw,22px)}   /* a collage: columns filled by js/reading.js */
.collage-col{display:flex;flex-direction:column;gap:clamp(14px,1.8vw,22px);flex:0 1 420px;min-width:0}
.entries-lesen{display:grid;gap:clamp(18px,3vh,32px);max-width:72ch;margin-inline:auto}
.entry,.tale{padding:clamp(18px,2.2vw,28px);border:1px solid var(--line);border-radius:22px;background:linear-gradient(160deg,rgba(14,48,74,.55),rgba(3,16,32,.62))}
/* a story opened for reading turns denser behind its text (and light again when closed) */
.tale{position:relative;isolation:isolate;scroll-margin-top:calc(var(--fade-top) + 10px)}   /* (scrolled back to: its title clear of the top fade) */
.tale::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(160deg,rgba(12,42,66,.84),rgba(3,14,28,.9));opacity:0;transition:opacity .52s cubic-bezier(.65,0,.35,1);pointer-events:none}
.tale.is-open::before{opacity:1}
.entries h3{margin:0 0 .45em;font:400 clamp(24px,2.2vw,32px)/1.15 var(--serif);letter-spacing:-.02em;color:var(--pearl)}
.entries p:not(.entries-empty){margin:0 0 .8em}
.tale p{font-family:Literata,'Iowan Old Style','Charter',Georgia,serif;font-size:clamp(17px,1.25vw,19px);line-height:1.7;font-weight:400;letter-spacing:.003em;color:#ece6d8;font-optical-sizing:auto;font-kerning:normal;font-variant-ligatures:common-ligatures;hanging-punctuation:first;text-wrap:pretty;text-align:justify;text-align-last:left;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:7 3 3}   /* the stories: set like a novel page (justified, German hyphenation; the heading stays centred) */
.tale p.short{text-align:center;text-align-last:auto;-webkit-hyphens:manual;hyphens:manual}   /* her captions, sub-headings, bylines: centred as she set them */
.entry-photo{--fade:min(48px,14%);display:block;width:100%;height:auto;max-height:360px;object-fit:cover;border-radius:14px;margin:0 0 16px;-webkit-mask-image:linear-gradient(rgba(0,0,0,0.000) calc(var(--fade) * 0), rgba(0,0,0,0.016) calc(var(--fade) * 0.125), rgba(0,0,0,0.104) calc(var(--fade) * 0.25), rgba(0,0,0,0.275) calc(var(--fade) * 0.375), rgba(0,0,0,0.500) calc(var(--fade) * 0.5), rgba(0,0,0,0.725) calc(var(--fade) * 0.625), rgba(0,0,0,0.896) calc(var(--fade) * 0.75), rgba(0,0,0,0.984) calc(var(--fade) * 0.875), rgba(0,0,0,1.000) calc(var(--fade) * 1), rgba(0,0,0,1.000) calc(100% - var(--fade) * 1), rgba(0,0,0,0.984) calc(100% - var(--fade) * 0.875), rgba(0,0,0,0.896) calc(100% - var(--fade) * 0.75), rgba(0,0,0,0.725) calc(100% - var(--fade) * 0.625), rgba(0,0,0,0.500) calc(100% - var(--fade) * 0.5), rgba(0,0,0,0.275) calc(100% - var(--fade) * 0.375), rgba(0,0,0,0.104) calc(100% - var(--fade) * 0.25), rgba(0,0,0,0.016) calc(100% - var(--fade) * 0.125), rgba(0,0,0,0.000) calc(100% - var(--fade) * 0));mask-image:linear-gradient(rgba(0,0,0,0.000) calc(var(--fade) * 0), rgba(0,0,0,0.016) calc(var(--fade) * 0.125), rgba(0,0,0,0.104) calc(var(--fade) * 0.25), rgba(0,0,0,0.275) calc(var(--fade) * 0.375), rgba(0,0,0,0.500) calc(var(--fade) * 0.5), rgba(0,0,0,0.725) calc(var(--fade) * 0.625), rgba(0,0,0,0.896) calc(var(--fade) * 0.75), rgba(0,0,0,0.984) calc(var(--fade) * 0.875), rgba(0,0,0,1.000) calc(var(--fade) * 1), rgba(0,0,0,1.000) calc(100% - var(--fade) * 1), rgba(0,0,0,0.984) calc(100% - var(--fade) * 0.875), rgba(0,0,0,0.896) calc(100% - var(--fade) * 0.75), rgba(0,0,0,0.725) calc(100% - var(--fade) * 0.625), rgba(0,0,0,0.500) calc(100% - var(--fade) * 0.5), rgba(0,0,0,0.275) calc(100% - var(--fade) * 0.375), rgba(0,0,0,0.104) calc(100% - var(--fade) * 0.25), rgba(0,0,0,0.016) calc(100% - var(--fade) * 0.125), rgba(0,0,0,0.000) calc(100% - var(--fade) * 0))}   /* top and bottom fade softly: a long smootherstep (9 stops), so no visible band */
/* the story's foot: 'Weiterlesen' in the middle, its piece on the right */
.tale-foot{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:12px;margin-top:4px}
.tale-foot .tale-toggle{grid-column:2}
.tale-foot .tale-piece{grid-column:3;justify-self:end;text-align:right}
.entries .entry-foot{display:flex;justify-content:flex-end;margin-top:2px}   /* (a Wissenswertes entry's way to its piece, as in the Leseecke) */
@media (max-width:520px){.tale-foot{grid-template-columns:1fr}.tale-foot .tale-toggle{grid-column:1;justify-self:center}.tale-foot .tale-piece{grid-column:1;white-space:nowrap}}   /* phones: its piece on a line of its own */
.tale-toggle,.tale-piece{margin:2px 0 0;padding:8px 0;border:0;background:none;font:12px/1.2 var(--mono);letter-spacing:.08em;color:var(--mint);cursor:pointer;transition:color .4s cubic-bezier(.65,0,.35,1)}
.tale-toggle:hover,.tale-piece:hover,.tale-toggle:focus-visible,.tale-piece:focus-visible{color:var(--pearl)}
.chapter-contact .chapter-scroll{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:clamp(20px,4vw,72px)}
.chapter-contact .dolphin-anchor{order:2;height:min(64vh,600px)}
.chapter-contact .copy{display:grid;gap:22px;justify-items:start;padding-left:clamp(0px,4vw,64px)}
.chapter-contact h2{font-size:clamp(44px,5vw,84px)}

/* ------------------------------------------------------------ product sheet (after the live build)
   A clear navy/phthalo glass sheet with a still, rounded optical bevel; it
   rises in over 0.68 s and sinks away in 0.4 s. */
dialog#product{--front-scale:1;width:min(1120px,calc(100vw - 48px));max-height:calc(100svh - 40px);padding:0;border:0;border-radius:30px;outline:none;overflow:visible;isolation:isolate;background:transparent;color:var(--pearl);box-shadow:none}
dialog#product::backdrop{background:#01091e00;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:background-color .58s cubic-bezier(.22,1,.36,1)}
dialog#product.is-visible::backdrop{background-color:#01091e63}
dialog#product.is-closing::backdrop{background-color:#01091e00;transition-duration:.4s;transition-timing-function:cubic-bezier(.4,0,.6,1)}
#product>.card-surface{position:relative;isolation:isolate;width:100%;border:1px solid #b8efe16b;border-radius:inherit;
  background:radial-gradient(ellipse at 8% 0%,#d4fff220,transparent 48%),linear-gradient(135deg,#0c5e6238,#041c354d 48%,#064a4938);
  -webkit-backdrop-filter:blur(16px) saturate(155%);backdrop-filter:blur(16px) saturate(155%);
  box-shadow:inset 0 2px 2px #edfff273,inset 0 -1px 2px #b1e8dc45,inset 1px 0 1px #d8faff40,inset -1px 0 1px #8bd3d527,0 26px 80px #0006;
  opacity:0;transform:perspective(1200px) translate3d(0,18px,0) rotateX(2deg) scale(.965);transform-origin:50% 58%;
  transition:opacity .58s cubic-bezier(.22,1,.36,1),transform .68s cubic-bezier(.22,1,.36,1)}
#product.is-visible>.card-surface{opacity:1;transform:none}
#product.is-closing>.card-surface{opacity:0;transform:perspective(1200px) translate3d(0,12px,0) rotateX(-1deg) scale(.978);transition-duration:.4s;transition-timing-function:cubic-bezier(.4,0,.6,1)}
#dialog-content{position:relative;z-index:1;border-radius:29px;overflow:visible}
#product .dialog-close{position:absolute;top:13px;right:13px;z-index:3;display:grid;place-items:center;width:44px;height:44px;border:1px solid #b5e5dc66;border-radius:50%;
  background:linear-gradient(145deg,#cefff322,#052b344d);box-shadow:inset 0 1px 1px #eefff24d;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:var(--pearl);transition:background .25s,box-shadow .25s}
#product .dialog-close:hover{background:linear-gradient(145deg,#cefff335,#07534e70);color:var(--pearl)}
#product .dialog-close svg{width:24px;height:24px;stroke-width:1.65}
#product>.card-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:6;display:grid;place-items:center;width:44px;height:56px;border-radius:14px;color:#c7e9df;transition:color .2s ease,opacity .25s ease}
#product>.card-nav-prev{left:0}#product>.card-nav-next{right:0}
#product>.card-nav svg{width:17px;height:26px;stroke-width:1.8;filter:drop-shadow(0 1px 2px #001b2bc9)}
#product>.card-nav:disabled{opacity:.2}
#product>.card-nav:not(:disabled):hover{color:#f3fff8}
#product:not(.is-visible)>.card-nav,#product.is-closing>.card-nav{opacity:0;pointer-events:none}
#product.is-card-navigating #dialog-content{will-change:transform,opacity}

.product-front{height:min(760px,calc(100svh - 48px));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:'art copy' 'art footer';column-gap:38px;padding:52px 64px 25px 60px;min-width:0}
.product-visual{grid-area:art;position:relative;display:grid;place-items:center;container-type:size;min-width:0;min-height:0}
.product-art-frame{position:relative;width:min(100cqw,calc(100cqh - 48px));height:min(100cqw,calc(100cqh - 48px));translate:0 -8px}
.product-art-tap,.product-art-static{display:block;width:100%;height:100%;padding:0;border:0;background:none;overflow:visible;touch-action:manipulation}
.product-art-tap:focus-visible{outline:1px solid #c5ecde88;outline-offset:5px;border-radius:50%}
.product-view-float,.product-view-turn{width:100%;height:100%;overflow:visible}
.product-view-turn{transform-origin:center}
.motion #product[open] .product-view-float{animation:unikate-float 7s ease-in-out infinite;will-change:translate}
#product .dialog-art{display:block;width:100%;height:100%;object-fit:contain;overflow:visible;filter:drop-shadow(0 0 1px #e2fff4d9) drop-shadow(0 0 3px #52e5bbbc) drop-shadow(0 0 11px #008e997a)}
.product-measures{margin:0 0 10px;font:12px/1.6 var(--mono);letter-spacing:.06em;color:var(--mint);text-align:center;flex-basis:100%}   /* (in the footer: it stays in view while a long text scrolls, centred) */
.product-scale-coin{position:absolute;right:0;bottom:1%;width:calc(100% * var(--coin-ratio));height:auto;aspect-ratio:1;border-radius:50%;clip-path:circle(49%);filter:drop-shadow(0 2px 3px #00102380);pointer-events:none}
/* which side is shown: centred just below the piece, inside the card */
.product-view-label{position:absolute;top:calc(100% + 6px);left:50%;translate:-50% 0;display:grid;width:12ch;height:20px;text-align:center;font:11px/1.3 var(--mono);letter-spacing:.08em;color:#b3d2cc}
.product-view-label span{grid-area:1/1;align-self:center;transition:opacity .36s,filter .36s}
.product-view-label span[aria-hidden=true]{opacity:0;filter:blur(3px)}   /* a pure cross-fade, no movement */
.product-flip-hint{position:absolute;left:61%;top:59%;z-index:5;width:32px;height:34px;opacity:0;pointer-events:none;filter:drop-shadow(0 0 2px #fff4edb0) drop-shadow(0 0 9px #b789ff90);will-change:transform,opacity}
.product-flip-hint svg{display:block;width:100%;height:100%;overflow:visible;transform-origin:5px 5px;fill:#050508;stroke:#fff8ee;stroke-width:2.7;stroke-linejoin:round}
.product-flip-hint-ring{position:absolute;left:-13px;top:-14px;width:32px;height:32px;border:1px solid #e2fff3;border-radius:50%;opacity:0;pointer-events:none}
.product-front-copy{grid-area:copy;min-height:0;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:safe center;overflow:auto;scrollbar-width:none;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(transparent,#000 14px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(transparent,#000 14px,#000 calc(100% - 18px),transparent)}
.product-front-copy>*{flex:none}
.product-front-copy{padding-block:14px 18px}   /* the soft edges fall on empty space unless the text really overflows */
.product-copy-heading .eyebrow{color:var(--mint);font:11px/1.4 var(--mono);letter-spacing:.22em;margin:0 0 12px}
.product-copy-heading h2{font:400 45px/1.12 var(--serif);letter-spacing:-.045em;margin:0 0 22px}
.product-story{font:18px/1.6 var(--sans);color:#c8dadd}
.product-story p{margin:0}.product-story p+p{margin-top:.8em}
.product-poem{font:17px/1.48 var(--sans);color:#d0e0dd}
.product-poem p+p{margin-top:13px}
.product-front-footer{grid-area:footer;min-width:0;padding-top:20px}
/* poem cards: the whole poem at full size in one column, no scrolling. The
   text gets more of the card (its long lines stay whole), and price and
   button share one row */
@media (min-width:651px) and (min-aspect-ratio:4/5){   /* the side-by-side card only */
  /* the text column hugs the poem (up to its longest line); the piece takes the rest */
  .product-front.with-poem{grid-template-columns:minmax(0,1fr) fit-content(36em);column-gap:clamp(30px,4vw,64px)}
  .with-poem .product-front-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 18px;padding-top:14px;container-type:inline-size}
  .with-poem .product-front-footer .product-price{margin:0;flex:none}
  .with-poem .product-front-footer .purchase-magic-wrap{margin:0;padding:18px 0 16px;flex:0 1 auto;min-width:0}
  @container (max-width:440px){.with-poem .purchase-magic{font-size:19px;min-height:50px;padding:9px 20px;gap:14px}}
}
.product-price{font:550 35px/1.15 var(--serif);color:var(--pearl);letter-spacing:-.025em;margin:0}
.purchase-magic-wrap{position:relative;display:flex;justify-content:center;margin:0 -22px;padding:22px 22px 20px;overflow:clip;overflow-clip-margin:110px}   /* (room for the capsule's wisps, see js/orbit.js) */
#product .spell-bubble{transform-origin:center;will-change:transform}
/* the living glass bubble (js/spell-bubble.js) is the button now: its own CSS
   glass steps aside */
.live-glass .purchase-magic.has-bubble,.live-glass .purchase-magic.has-bubble:hover,.live-glass .purchase-magic.has-bubble:focus-visible{background:transparent;border-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transform:scale(var(--bubble-scale,1))}
.purchase-magic.has-bubble::before,.purchase-magic.has-bubble::after{display:none}
.purchase-magic.has-bubble .spell-label{text-shadow:0 1px 4px #002326,0 0 15px #d5ffe16b}
.purchase-magic.is-soon{cursor:default}
.purchase-magic{font-size:24px;min-height:57px;padding:11px 28px;gap:22px;overflow:visible}
.purchase-magic .spell-label,.purchase-magic .spell-arrow,.purchase-magic .spell-price{position:relative;z-index:1}
/* the price, left inside the button, set off by a hairline */
.purchase-magic .spell-price{flex:none;white-space:nowrap;padding-right:.8em;margin-right:-.15em;border-right:1px solid #d5ffe14d;font-variant-numeric:lining-nums}
.purchase-magic .orbit{z-index:0}
/* inside the sheet the button keeps its own glass: a shimmering edge and sheen */
.live-glass .purchase-magic{background:#c8fff211;border-color:#e5fff383;box-shadow:inset 0 1px 1px #f0fff57a,inset 0 -1px 1px #8bbbc347,0 5px 15px #0011223b,0 0 17px #24dba224;-webkit-backdrop-filter:blur(10px) saturate(150%);backdrop-filter:blur(10px) saturate(150%);transform:none;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s,border-color .45s}
.live-glass .purchase-magic:hover,.live-glass .purchase-magic:focus-visible{transform:scale(1.065);border-color:#effff8bf;box-shadow:inset 0 1px 1px #f0fff5a3,inset 0 -1px 1px #8bbbc35c,0 7px 22px #00112247,0 0 27px #44ffc540}
.purchase-magic::before{content:'';position:absolute;inset:-2px;padding:1px;border-radius:inherit;background:linear-gradient(105deg,transparent 25%,#d7ffe6 43%,#6cdbff 49%,#e4ffd8 55%,transparent 72%);background-size:300% 100%;
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;animation:spell-edge 7s ease-in-out infinite;pointer-events:none}
.purchase-magic::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,transparent 30%,#d6ffe415 45%,#fff9d126 50%,#99e6ff13 55%,transparent 68%);background-size:300% 100%;animation:spell-edge 9s ease-in-out infinite;pointer-events:none;z-index:-1}
@keyframes spell-edge{0%,15%{background-position:140% 50%}75%,100%{background-position:-40% 50%}}
.purchase-placeholder{display:block;width:100%;margin:0;min-height:54px;font-size:20px;background:linear-gradient(150deg,#91e7d01f,#07544638 55%,#10536022);border-color:#a8ded06b;box-shadow:inset 0 1px 1px #eaffed38,inset 0 -1px 1px #88c8bd21;color:#dfefe9}
@media (min-width:651px) and (max-height:800px){
  .product-front{padding-top:35px;padding-bottom:14px;column-gap:26px}
  .product-copy-heading h2{font-size:37px;margin-bottom:16px}
  .product-poem{font-size:14px;line-height:1.45}.product-poem p+p{margin-top:9px}
  .product-story{font-size:16px}
  .product-front-footer{padding-top:12px}
}
@media (max-width:650px),(min-width:651px) and (max-aspect-ratio:4/5){
  dialog#product{width:calc(100vw - 40px);max-height:calc(100svh - 40px)}
  /* every piece the same size: the picture has a fixed share of the card and
     a long text scrolls below it (soft edges) instead of shrinking the piece */
  .product-front{height:calc(100svh - 44px);padding:26px 22px 18px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,44%) minmax(0,1fr) auto;grid-template-areas:'art' 'copy' 'footer';column-gap:0;row-gap:16px}
  .product-art-frame{width:min(80cqw,calc(100cqh - 40px));height:min(80cqw,calc(100cqh - 40px))}
  .product-front-copy{align-self:stretch;justify-content:flex-start}
  .product-copy-heading .eyebrow{font-size:10px;margin-bottom:10px}
  .product-copy-heading h2{font-size:34px;margin-bottom:17px}
  .product-story{font-size:14px;line-height:1.5}
  .product-poem{font-size:13px;line-height:1.42}.product-poem p+p{margin-top:7px}
  .product-front-footer{padding-top:0}
  .product-price{font-size:31px}
  .purchase-magic-wrap{padding:18px 22px 20px}
  .purchase-magic{font-size:18px;min-height:50px;padding:10px 22px;gap:17px}
  .purchase-placeholder{font-size:18px;min-height:50px}
  .product-view-label{font-size:9px;height:16px}
  .product-front.with-poem{row-gap:10px;padding-bottom:10px}
  /* phones and upright tablets: header, poem and price centred under the piece */
  .product-poem,.product-copy-heading,.product-front-footer .product-price{text-align:center}
}
@media (min-width:651px) and (max-aspect-ratio:4/5){
  dialog#product{width:min(720px,calc(100vw - 64px));max-height:calc(100svh - 64px)}
  .product-front{height:calc(100svh - 70px);padding:42px 44px 26px;row-gap:26px}
  .product-copy-heading h2{font-size:48px;margin-bottom:24px}
  .product-copy-heading .eyebrow{font-size:13px}
  .product-story{font-size:20px;line-height:1.6}
  .product-poem{font-size:17px;line-height:1.5}
  .product-price{font-size:41px}
  .purchase-magic{font-size:25px;min-height:62px}
}
@media (prefers-reduced-motion:reduce){#product>.card-surface,dialog#product::backdrop{transition:none}#product>.card-surface{transform:none!important}.product-flip-hint{display:none}}

/* ------------------------------------------------------------ portal overlay */
#portal{position:fixed;inset:0;z-index:40;transition:opacity .9s ease,visibility 0s linear .9s}
.entered #portal,.skip-portal #portal{opacity:0;visibility:hidden;pointer-events:none}
.skip-portal #portal{transition:none}
#portal-enter{position:absolute;left:var(--ap-x,50%);top:var(--ap-y,42%);width:calc(var(--ap-r,180px)*2);height:calc(var(--ap-r,180px)*2);transform:translate(-50%,-50%);border-radius:50%;cursor:pointer}
#portal-enter span{position:absolute;left:50%;top:calc(100% + var(--ap-r,180px)*.4 + 10px);transform:translateX(-50%);white-space:nowrap;font-family:var(--serif);font-size:clamp(28px,3.2vw,44px);letter-spacing:-.02em;color:var(--pearl);text-shadow:0 0 30px #52e5bb88,0 2px 14px #000;opacity:0;transition:opacity 1.2s ease .6s,letter-spacing .8s var(--ease)}
.portal-ready #portal-enter span{opacity:1}
#portal-enter:hover span,#portal-enter:focus-visible span{letter-spacing:.02em}
#portal-enter:focus-visible{outline:none}
#portal-enter:focus-visible span{text-decoration:underline;text-decoration-color:#52e5bb;text-underline-offset:8px}
.entering #portal-enter span,.entering .portal-brand{opacity:0!important;transition:opacity .4s}
.portal-brand{position:absolute;right:max(3vw,calc(50vw - var(--ap-r,180px)*4.3));top:calc(var(--ap-y,40%) + var(--ap-r,180px)*.32);display:flex;align-items:center;gap:14px;font-family:var(--serif);font-size:clamp(30px,calc(var(--ap-r,180px)*.24),60px);color:var(--pearl);text-shadow:0 2px 24px #011c29,0 0 30px #93d9c540;opacity:0;transition:opacity 1.4s ease .3s;pointer-events:none}
@media (max-aspect-ratio:6/5){.portal-brand{right:auto;left:50%;transform:translateX(-50%);top:max(calc(28px + env(safe-area-inset-top)),calc(var(--ap-y,40%) - var(--ap-r,180px)*1.42 - 1.6em))}}
.portal-brand img{height:1.35em;width:auto}
.portal-ready .portal-brand{opacity:1}
.portal-loader{position:absolute;left:var(--ap-x,50%);top:var(--ap-y,42%);width:calc(var(--ap-rim,170px)*2);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;transition:opacity 1.3s cubic-bezier(.4,0,.2,1);pointer-events:none}
.loader-rotor{position:absolute;inset:0;border-radius:50%;animation:loader 2.4s linear infinite}
/* a long tail fading behind the head, glowing */
.loader-trail{position:absolute;inset:-1.5px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 50%,#0f6e6400 52%,#1fae9a40 70%,#52e5bbb0 88%,#c8fff0 97%,#fff 100%);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(closest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));
  filter:drop-shadow(0 0 4px #52e5bb) drop-shadow(0 0 12px #52e5bb99)}
/* the head: a bright spark with a small star flare */
.loader-spark{position:absolute;left:50%;top:0;width:26px;height:26px;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle,#fff 0 10%,#dcfff6 18%,#52e5bbaa 36%,#52e5bb22 56%,transparent 70%);animation:spark-breathe 1.3s ease-in-out infinite}
.loader-spark::before,.loader-spark::after{content:'';position:absolute;left:50%;top:50%;width:46px;height:1.5px;transform:translate(-50%,-50%);border-radius:2px;background:linear-gradient(90deg,transparent,#c8fff0cc 45%,#fff 50%,#c8fff0cc 55%,transparent)}
.loader-spark::after{width:1.5px;height:30px;background:linear-gradient(180deg,transparent,#c8fff0cc 45%,#fff 50%,#c8fff0cc 55%,transparent)}
@keyframes spark-breathe{50%{transform:translate(-50%,-50%) scale(1.25)}}
/* motes shed behind it, twinkling out */
.loader-mote{position:absolute;inset:0;border-radius:50%;pointer-events:none}
.loader-mote::after{content:'';position:absolute;left:50%;top:0;width:4px;height:4px;transform:translate(-50%,-50%);border-radius:50%;background:#dcfff6;box-shadow:0 0 6px 1px #52e5bb;animation:mote-twinkle 1.1s ease-in-out infinite}
.loader-mote.m1{transform:rotate(-9deg)}.loader-mote.m1::after{margin-top:-5px;animation-delay:-.2s}
.loader-mote.m2{transform:rotate(-17deg)}.loader-mote.m2::after{margin-top:4px;width:3px;height:3px;animation-delay:-.7s}
.loader-mote.m3{transform:rotate(-27deg)}.loader-mote.m3::after{margin-top:-3px;width:2.5px;height:2.5px;animation-delay:-.45s}
.loader-mote.m4{transform:rotate(-40deg)}.loader-mote.m4::after{margin-top:6px;width:2px;height:2px;animation-delay:-.9s}
@keyframes mote-twinkle{0%,100%{opacity:.15}50%{opacity:1}}
@keyframes loader{to{transform:rotate(1turn)}}
.portal-ready:not(.awakening) .portal-loader{opacity:0}
.awakening .loader-rotor{animation:none}
#dev-replay-loading{position:absolute;left:16px;bottom:16px;z-index:5;padding:8px 14px;border-radius:999px;border:1px dashed #e8c98788;background:#0008;color:#e8c987;font:12px/1 var(--mono);letter-spacing:.04em}
#portal-retry{position:absolute;left:50%;bottom:12vh;transform:translateX(-50%);padding:10px 18px;border-radius:999px;border:1px solid var(--line);background:var(--glass);font:13px var(--mono)}

/* reveal of page chrome after arrival */
.motion:not(.arrived) .site-header,.motion:not(.arrived) .dock,.motion:not(.arrived) .site-footer,.motion:not(.arrived) #main{opacity:0;pointer-events:none}
.site-header,.dock,.site-footer,#main{transition:opacity 1.5s ease}
/* the arriving composition approaches from 94 % with the sky */
.motion:not(.arrived):not(.skip-portal) #main{transform:scale(.94)}
#main{transition:opacity 1.5s ease,transform 2.6s cubic-bezier(.2,.7,.25,1)}

/* ------------------------------------------------------------ tablet / phone */
@media (max-width:1100px) and (min-width:761px){
  .chapter-about .chapter-scroll{grid-template-columns:1fr 1fr;grid-template-rows:auto auto;align-items:start}
  .chapter-about .dolphin-anchor{grid-column:1;grid-row:1;height:34vh;position:relative;left:22%;top:7vh}   /* a little right and down, toward Andrea */
  .chapter-about .portrait{grid-column:2;grid-row:1;width:min(100%,28vh);justify-self:center;order:0;translate:none;margin-top:clamp(28px,8vh,80px)}
  .chapter-about .story{grid-column:1/-1;max-width:62ch}
}
@media (max-width:650px){
  .dock-arrow{display:none}
  .dock-pills{--rib:128px;width:100%;padding:5px;min-height:57px}
  .dock-pills a{font-size:11.5px;padding:0 3px}
  .brand{gap:8px;font-size:29px}.brand img{width:26px;height:40px}
  .icon-button svg{width:25px;height:25px}
  .site-footer{font-size:9px;bottom:calc(13px + env(safe-area-inset-bottom));letter-spacing:0}
  .spell-button{font-size:17px;min-height:49px;padding:10px 25px;gap:20px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}
}
@media (max-width:760px){
  :root{--top:calc(70px + env(safe-area-inset-top));--bottom:calc(104px + env(safe-area-inset-bottom))}
  body{font-size:16px}
  .maker{display:none}
  .dock{gap:0;bottom:calc(37px + env(safe-area-inset-bottom));width:calc(100% - 30px);justify-content:center}
  .chapter-home .dolphin-anchor{width:min(79.2vw,41.4vh);height:90%;align-self:center}   /* 10 % smaller than it was, centred where it was */
  .chapter-home{padding-top:calc(var(--top) + 6px)}   /* the dolphin rests clear of the header's switch */
  .dolphin-hint{left:50%;bottom:-2px;transform:translateX(-50%)}
  .chapter-contact .dolphin-anchor{height:min(38vh,max(190px,calc(100svh - 520px)))}
  .chapter-shop .chapter-scroll,.chapter-about .chapter-scroll,.chapter-contact .chapter-scroll{display:block}
  .shop-intro{grid-template-columns:minmax(0,1fr) 42%;grid-template-areas:'title anchor' 'text anchor';column-gap:12px}
  .shop-intro p{grid-column:1}
  /* phones: the dolphin on top, on its side; the text centred below */
  .reading-intro{grid-template-columns:1fr;grid-template-rows:auto;row-gap:10px}
  .chapter-wissen .reading-intro,.chapter-lesen .reading-intro{grid-template-areas:'anchor' 'title' 'text'}
  .reading-intro .dolphin-anchor{justify-self:start;width:58%;height:clamp(130px,20vh,190px)}
  .chapter-lesen .reading-intro .dolphin-anchor{justify-self:end}
  .reading-intro h2{font-size:34px}
  .reading-intro p{font-size:15px}
  .shop-intro .dolphin-anchor{height:clamp(150px,24vh,220px);position:relative;left:-8%;top:-14px}   /* nearer the heading it faces */
  .shop-intro h2{font-size:38px}
  .shop-intro p{font-size:15px}
  .product-grid{gap:30px 14px}
  .product-meta h3{font-size:clamp(16px,4.5vw,22px)}
  .chapter-about .dolphin-anchor{position:absolute;left:9%;top:calc(var(--fade-top) + 3.5vh);width:42%;height:24vh}   /* the dolphin on the left, Andrea on the right */
  .portrait{width:44%;margin:clamp(20px,7vh,56px) 0 12px auto;translate:none}
  .story h2{font-size:38px}
  .chapter-contact .dolphin-anchor{margin-bottom:8px}
  .chapter-contact .copy{padding:0;gap:16px}
  /* centred, and sitting lower on the screen (the column is centred in the
     space between header and navigation, a little below the middle) */
  .chapter-contact .chapter-scroll{display:flex;flex-direction:column;justify-content:safe center;align-items:center;text-align:center;padding-top:calc(var(--fade-top) + 7vh)}
  .chapter-contact .dolphin-anchor{width:100%;flex:none;order:0}
  .chapter-contact .copy{justify-items:center}
  .chapter-contact h2{font-size:42px}
}
@media (max-height:560px) and (min-width:761px){
  .chapter-home .copy{gap:8px}.chapter-home h1{font-size:clamp(34px,7vh,60px)}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important}
}

/* ------------------------------------------------------------ legal page */
body.legal{overflow:auto;background:radial-gradient(ellipse at 70% 10%,#0a3b4a55,transparent 60%),linear-gradient(#01060fcc,#01060fee),url('../assets/images/nebula-light.webp') center/cover fixed,var(--deep)}
.legal .site-header{position:sticky;padding-bottom:14px;background:linear-gradient(#01060f,#01060f00)}
.legal-back{height:46px;font-size:18px;padding:0 22px}
.legal-content{max-width:760px;margin:0 auto;padding:clamp(28px,6vh,64px) var(--gutter) 80px;display:grid;gap:14px}
.legal-content h2{font-size:clamp(46px,6vw,80px);margin-bottom:6px}
.legal-content h3{margin:22px 0 0;font:400 12px/1.4 var(--mono);letter-spacing:.24em;text-transform:uppercase;color:var(--mint)}
.legal-content a{color:var(--mint);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#a8ded055}
.legal-draft{display:inline-block;justify-self:start;padding:6px 12px;border-radius:999px;border:1px solid #e8c98755;color:var(--gold);font:12px/1.4 var(--mono)}
.legal-placeholder{padding:12px 16px;border-radius:14px;border:1px dashed #a8ded044;color:var(--muted);font-size:15px}
.legal-sources{font-size:14px;color:var(--muted)}
.legal-footer{text-align:center;padding:0 0 40px;font:11px/1 var(--mono);letter-spacing:.08em;color:#8fa9b2b0}

/* touches stir the portal surface instead of scrolling */
#portal{touch-action:none;-webkit-user-select:none;user-select:none}
@media (max-width:1100px) and (min-width:761px){.chapter-about .portrait.portrait-sea{width:min(100%,32vh)}}
@media (max-width:760px){.chapter-about .portrait.portrait-sea{width:50%}}

/* ------------------------------------------------------------ the light view
   The same site, still (js/view-mode.js): no scene, no animation loops, no
   blur, nothing compositing every frame. The painted dolphin stands at each
   chapter's place; the glass becomes solid; chapters change with a short
   crossfade. While the moving view loads, the still and the light background
   stay until the scene fades in over them. */
.light #stage{display:none}
.light,.light body,.view-loading,.view-loading body{background:var(--deep) url('../assets/images/nebula-light.webp') center/cover no-repeat}   /* (nebula-light: the nebula upscaled and cleaned, source/backgrounds/upscale-light.py; the moving view's sky keeps nebula-smooth) */
/* upright screens see a narrow slice of the wide nebula: the right-hand one with its bright streaks, not the dark middle */
@media (orientation:portrait){.light,.light body,.view-loading,.view-loading body{background-position:90% 50%}}
@media (orientation:portrait) and (min-width:700px){.light,.light body,.view-loading,.view-loading body{background-position:100% 50%}}   /* tablets: the picture moved as far left as it goes (its right edge) */
.view-loading #stage{opacity:0}
.light .dolphin-still,.view-loading .dolphin-still{display:block}
.light *,.light *::before,.light *::after{animation:none!important;transition:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.light .chapter{will-change:auto}
.light .dolphin-hint{display:none}
.light .glass,.light .glass-button,.light .spell-button,.light .dock-pills,.light .dock-arrow,.light #product>.card-surface,.light #product .dialog-close,.light .purchase-magic{background-color:#06203ced}
.light dialog#product::backdrop{background:#01091ecc}

/* the view switch: bewegt | leicht, a glass knob slides to the active side */
.view-switch{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;height:32px;padding:2px;border:1px solid #d5edf340;border-radius:999px;background:#03132833;font:11px/1 var(--mono);letter-spacing:.07em;isolation:isolate}
.view-switch::before{content:'';position:absolute;z-index:-1;top:2px;bottom:2px;left:2px;width:calc(50% - 2px);border-radius:999px;
  background:linear-gradient(160deg,#e9fff733,#a8ded01a 60%,#a8ded00d);box-shadow:inset 0 1px 0 #f2fffa55,0 0 12px #6fe6c62b;transition:translate .55s cubic-bezier(.22,.8,.25,1)}
.view-switch[data-view=leicht]::before{translate:100% 0}
.view-switch button{height:100%;padding:0 11px;border-radius:999px;color:#bfd6d3a8;transition:color .3s}
.view-switch button[aria-pressed=true]{color:var(--pearl)}
.view-switch button:hover{color:var(--mint)}
.view-switch button:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
.view-switch[aria-busy=true]{cursor:progress}
.view-switch[aria-busy=true] button{pointer-events:none}
@media (max-width:420px){.view-switch{height:28px;font-size:9.5px;letter-spacing:.03em}.view-switch button{padding:0 6px}.header-end{gap:8px}.brand{font-size:26px}}
/* on the portal: a quiet way into the light view (weak devices wait here first) */
#portal-light{position:absolute;right:18px;bottom:16px;z-index:5;padding:8px 14px;border-radius:999px;border:1px solid #a8ded033;background:#00081499;color:#a8ded0;font:12px/1 var(--mono);letter-spacing:.06em;opacity:0;visibility:hidden;transition:opacity 1.2s ease 1.4s,visibility 0s linear 2.6s}
/* not while loading: it appears quietly once the portal is ready */
.portal-ready #portal-light{opacity:.62;visibility:visible;transition:opacity 1.2s ease 1.4s,visibility 0s}
.portal-ready #portal-light:hover,.portal-ready #portal-light:focus-visible{opacity:1;transition:opacity .3s}
/* the offer, when the moving view struggles on this device */
.view-offer{position:fixed;left:50%;bottom:calc(122px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:60;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;width:max-content;max-width:min(92vw,560px);padding:12px 14px 12px 20px;border:1px solid #a8ded044;border-radius:18px;background:#05182ff0;color:var(--pearl);font:14px/1.45 var(--sans);box-shadow:0 10px 30px #0008}
.view-offer[hidden]{display:none}
.view-offer p{margin:0}
.view-offer-actions{display:flex;gap:8px}
.view-offer button{padding:9px 14px;border-radius:999px;border:1px solid #a8ded055;background:transparent;color:var(--pearl);font:13px/1 var(--mono);letter-spacing:.04em;cursor:pointer}
.view-offer .view-offer-accept{background:#a8ded01f;color:var(--mint)}

/* "Weiter scrollen" (js/scroll-hint.js): while there is more below, the
   content's lower edge dissolves deeper into the nebula, and the words float
   over the capsule (no background), a chevron sinking slowly beneath them */
@property --more{syntax:'<length>';inherits:false;initial-value:28px}
.chapter-scroll.has-more{--more:clamp(70px,13vh,130px)}
.scroll-cue{position:fixed;z-index:29;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none;white-space:nowrap;
  color:#e4f4f0d9;font:11px/1.4 var(--mono);letter-spacing:.16em;text-shadow:0 0 12px #4fe3c955,0 0 3px #021226;
  animation:scroll-cue-in 1.1s cubic-bezier(.4,0,.2,1) both}
.scroll-cue[hidden]{display:none}
@keyframes scroll-cue-in{from{opacity:0;translate:-50% 6px}to{opacity:1;translate:-50% 0}}
@media (max-width:650px){.scroll-cue{font-size:10px}}
/* a card's text that runs on fades out longer at its foot (that says there is
   more), with room below it to scroll the last line up into full view */
.product-front-copy.runs-on{padding-bottom:44px;-webkit-mask-image:linear-gradient(transparent,#000 14px,#000 calc(100% - 52px),rgba(0,0,0,.35) calc(100% - 26px),transparent);mask-image:linear-gradient(transparent,#000 14px,#000 calc(100% - 52px),rgba(0,0,0,.35) calc(100% - 26px),transparent)}

/* under "Durchschreiten.": a quiet note that sound will come with the entry */
.portal-sound-note{display:block;margin-top:8px;font:12.5px/1 var(--mono);letter-spacing:.14em;color:#eaf8f4;opacity:.85;text-shadow:0 1px 3px #000,0 0 10px #000c,0 0 16px #52e5bb44}
.sound-off .portal-sound-note{display:none}

/* the magnifier on the card's artwork (phones, upright tablets, touch screens)
   and the full-screen view it opens (js/zoom-view.js) */
.product-zoom{position:absolute;right:0;bottom:1%;z-index:3;display:none;place-items:center;width:38px;height:38px;border-radius:50%;
  border:1px solid #a8ded055;background:#05182fb3;color:#dff3ee;box-shadow:0 2px 10px #0008}
.product-zoom svg{width:19px;height:19px;stroke-width:1.6}
.product-zoom:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
@media (max-width:650px),(min-width:651px) and (max-aspect-ratio:4/5),(hover:none){.product-zoom{display:grid}}
.zoom-view{position:fixed;inset:0;z-index:60;display:grid;place-items:center;overflow:hidden;touch-action:none;
  background:#020a1ce8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;transition:opacity .28s ease}
.zoom-view.open{opacity:1}
.zoom-stage{display:grid;place-items:center;width:100%;height:100%;transform-origin:center;will-change:transform}
.zoom-art{width:min(94vw,86vh)!important;height:min(94vw,86vh)!important;object-fit:contain;pointer-events:none;
  filter:none!important}   /* the piece as it is, no glow around it */
.zoom-close{position:absolute;top:max(16px,env(safe-area-inset-top));right:16px;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;
  border:1px solid #a8ded066;background:#05182fcc;color:var(--pearl)}
.zoom-close svg{width:22px;height:22px;stroke-width:1.7}
.zoom-flip{position:absolute;left:50%;bottom:max(22px,env(safe-area-inset-bottom));translate:-50% 0;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;
  border:1px solid #a8ded066;background:#05182fcc;color:var(--pearl)}
.zoom-flip svg{width:24px;height:24px;stroke-width:1.6}
.zoom-stage{perspective:1400px}


/* while the dolphin is turned by hand nothing on the page gets selected */
.spinning,.spinning *{-webkit-user-select:none!important;user-select:none!important}

/* "Überspringen": past the whole entrance in one click; fades in a moment
   after the page starts (.can-skip) and out once arrived (eased both ways) */
#skip-entrance{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:46;transform:translateX(-50%);padding:8px 16px;border-radius:999px;border:1px solid #a8ded033;background:#00081499;color:#a8ded0;font:12px/1 var(--mono);letter-spacing:.06em;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .8s cubic-bezier(.65,0,.35,1),background .35s cubic-bezier(.65,0,.35,1),visibility 0s linear .8s}
.can-skip:not(.arrived):not(.skip-portal):not(.skipped) #skip-entrance{opacity:.62;visibility:visible;transition:opacity 1.2s cubic-bezier(.65,0,.35,1),background .35s cubic-bezier(.65,0,.35,1),visibility 0s}
.can-skip:not(.arrived):not(.skip-portal):not(.skipped) #skip-entrance:hover,.can-skip:not(.arrived):not(.skip-portal):not(.skipped) #skip-entrance:focus-visible{opacity:1;background:#001a2acc}

/* an open story's floating ×: top right, stays in view down a long story (on a
   sticky rail of no height, so it takes no room from the heading) */
.tale-close-rail{position:sticky;top:calc(var(--fade-top, 0px) + 10px);z-index:2;height:0}   /* (no height: the heading stays centred over the whole card) */
.tale-close{position:absolute;top:-8px;right:-8px;width:40px;height:40px;margin:0;border-radius:50%;border:1px solid rgba(190,250,232,.45);background:rgba(3,16,32,.86);display:grid;place-items:center;padding:0;color:var(--pearl);box-shadow:0 4px 16px rgba(0,0,0,.35);cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transform:scale(.85);transition:opacity .45s cubic-bezier(.65,0,.35,1),transform .45s cubic-bezier(.65,0,.35,1),border-color .35s cubic-bezier(.65,0,.35,1),visibility 0s linear .45s}
.tale.is-open .tale-close{opacity:1;visibility:visible;transform:none;transition:opacity .45s cubic-bezier(.65,0,.35,1),transform .45s cubic-bezier(.65,0,.35,1),border-color .35s cubic-bezier(.65,0,.35,1),visibility 0s}
.tale-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}   /* (a drawn cross: a × glyph sits on the font's baseline, off centre) */
.tale-close:hover,.tale-close:focus-visible{border-color:var(--mint)}
#andrea-title{text-wrap:balance}   /* (her own heading from the Werkstatt breaks evenly) */

/* the compass (top right) and its menu of every page */
.compass svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
.compass .needle{fill:#a8ded022}.compass .needle-n{fill:currentColor;stroke:none}
.compass svg{transition:rotate .7s cubic-bezier(.65,0,.35,1)}
.compass[aria-expanded="true"] svg{rotate:45deg}
.compass-menu{position:fixed;z-index:31;top:calc(78px + env(safe-area-inset-top));right:var(--gutter);display:flex;flex-direction:column;min-width:220px;padding:10px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(160deg,rgba(14,48,74,.86),rgba(3,16,32,.92));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 18px 50px #0009;opacity:0;visibility:hidden;translate:0 -8px;scale:.97;transform-origin:top right;transition:opacity .38s cubic-bezier(.65,0,.35,1),translate .38s cubic-bezier(.65,0,.35,1),scale .38s cubic-bezier(.65,0,.35,1),visibility 0s linear .38s}
.compass-menu.open{opacity:1;visibility:visible;translate:0 0;scale:1;transition:opacity .38s cubic-bezier(.65,0,.35,1),translate .38s cubic-bezier(.65,0,.35,1),scale .38s cubic-bezier(.65,0,.35,1),visibility 0s}
.compass-menu a{padding:11px 16px;border-radius:14px;font:400 24px/1.1 var(--serif);color:var(--pearl);text-decoration:none;transition:background .3s cubic-bezier(.65,0,.35,1),color .3s cubic-bezier(.65,0,.35,1)}
.compass-menu a:hover,.compass-menu a:focus-visible{background:#a8ded014;color:var(--mint);outline:none}
.compass-menu a[aria-current]{color:var(--mint)}
.compass-menu a[aria-current]::before{content:'';display:inline-block;width:6px;height:6px;margin:0 10px 4px -2px;border-radius:50%;background:var(--mint);vertical-align:middle}
.compass-menu .compass-legal{margin-top:6px;padding-top:12px;border-top:1px solid var(--line);border-radius:0 0 14px 14px;font:12px/1.4 var(--mono);letter-spacing:.06em;color:var(--muted)}

/* the edit mode (?bearbeiten, js/edit-mode.js) */
.editing .editable{outline:1px dashed transparent;outline-offset:6px;border-radius:6px;cursor:text;transition:outline-color .35s cubic-bezier(.65,0,.35,1),background .35s cubic-bezier(.65,0,.35,1)}
.editing .editable:hover{outline-color:#e8c98788}
.editing .editable:focus{outline:1px solid var(--gold);background:#e8c9870d}
.editing .spell-button .editable{outline-offset:3px}
.editing .pill-face{pointer-events:auto}   /* (the menu names, written where they stand) */
.editing .dock-pills .editable{outline-offset:2px}
/* changed, not yet published: yellow (back to normal once it is live) */
.editing .editable.changed{color:#ffd84d!important;-webkit-text-fill-color:#ffd84d;text-shadow:0 0 14px #ffd84d33;transition:color .4s cubic-bezier(.65,0,.35,1)}
.editing .editable.changed *{color:inherit!important}
.editing .portrait.changed .edit-photo::before{content:'Neues Foto · noch nicht veröffentlicht';flex-basis:100%;text-align:center;font:600 12px/1.4 var(--mono);color:#ffd84d;text-shadow:0 1px 3px #000}
.edit-bar{position:fixed;z-index:32;left:50%;top:calc(80px + env(safe-area-inset-top));translate:-50% 0;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 24px);padding:8px 8px 8px 16px;border:1px solid #e8c98766;border-radius:999px;background:linear-gradient(160deg,rgba(40,32,14,.9),rgba(12,10,6,.92));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 14px 40px #0009;font:13px/1.2 var(--mono);color:#f4e6c4;white-space:nowrap}
.edit-mark{display:inline-flex;align-items:center;gap:7px;color:var(--gold);letter-spacing:.06em}
.edit-mark svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.edit-state{color:#d8ccb0;overflow:hidden;text-overflow:ellipsis}
.edit-state.err{color:#ffb3b3}
.edit-publish,.edit-back{padding:8px 15px;border-radius:999px;font:600 13px/1 var(--sans);text-decoration:none;cursor:pointer;transition:background .35s cubic-bezier(.65,0,.35,1),opacity .35s cubic-bezier(.65,0,.35,1)}
.edit-publish{border:1px solid var(--gold);background:linear-gradient(180deg,#f3d99b,#c9a45a);color:#2a1c04}
.edit-publish:disabled{opacity:.35;cursor:default}
.edit-back{border:1px solid #e8c98755;color:#f4e6c4}
.edit-back:hover{background:#e8c98718}
@media (max-width:620px){.edit-bar{top:auto;bottom:calc(96px + env(safe-area-inset-bottom));gap:8px;padding-left:12px;font-size:11px}.edit-mark{display:none}}
.edit-photo{position:absolute;left:50%;bottom:8%;translate:-50% 0;z-index:3;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.edit-photo-pick,.edit-photo-reset{padding:8px 14px;border-radius:999px;border:1px solid #e8c98799;background:rgba(12,10,6,.82);color:#f4e6c4;font:600 13px/1 var(--sans);cursor:pointer;white-space:nowrap}
.edit-photo-reset[hidden]{display:none}
.edit-photo-msg{flex-basis:100%;text-align:center;font:12px/1.4 var(--mono);color:#f4e6c4;text-shadow:0 1px 3px #000}
.editing .product-measures.is-empty::before{content:attr(data-placeholder);opacity:.55}
.editing dialog#product{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.edit-piece{margin:14px 0 4px;padding:14px 16px 6px;border:1px solid #e8c98755;border-radius:24px;background:linear-gradient(160deg,rgba(20,24,30,.92),rgba(6,10,16,.95))}
.edit-piece-note{margin:0 4px 10px;font:12px/1.5 var(--mono);color:#e8c987;letter-spacing:.02em}
.edit-piece iframe{display:block;width:100%;height:900px;border:0;color-scheme:dark;background:transparent}
.edit-card-status{position:absolute;z-index:3;top:26px;left:30px;margin:0;padding:6px 12px;border-radius:999px;border:1px solid #e8c98766;background:rgba(12,10,6,.8);font:600 12px/1 var(--mono);color:#ffd84d;letter-spacing:.03em;pointer-events:none}
.product-front{position:relative}
.edit-publish-dialog{width:min(460px,calc(100vw - 32px));padding:24px 22px 18px;border:1px solid #e8c98777;border-radius:22px;background:linear-gradient(160deg,#241d0d,#0c0a06);color:#f4e6c4;box-shadow:0 30px 80px #000a}
.edit-publish-dialog::backdrop{background:rgba(1,6,15,.7);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.edit-publish-dialog h2{margin:0 0 4px;font:400 28px/1.15 var(--serif);color:#fff6df}
.edit-publish-dialog .soft{margin:0 0 10px;font-size:14px;color:#d8ccb0}
.edit-publish-dialog ul{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:6px;max-height:40vh;overflow:auto}
.edit-publish-dialog li{padding:8px 12px;border:1px solid #e8c98733;border-radius:12px;background:#ffffff08;font:14px/1.4 var(--sans);color:#ffd84d}
.edit-hold,.edit-cancel{display:block;width:100%;padding:14px 18px;border-radius:999px;font:600 15px/1 var(--sans);cursor:pointer}
.edit-hold{position:relative;overflow:hidden;border:1px solid var(--gold);background:rgba(232,201,135,.1);color:var(--gold);user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}
.edit-hold-fill{position:absolute;inset:0;overflow:hidden;background:linear-gradient(180deg,#f3d99b,#c9a45a);transform:translateX(calc((var(--p,0) - 1) * 100%));will-change:transform}
.edit-hold-fill>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#2a1c04;transform:translateX(calc((1 - var(--p,0)) * 100%));will-change:transform}
.edit-cancel{margin-top:10px;border:1px solid #e8c98755;background:transparent;color:#f4e6c4}
/* the edit mode's shop cards: yellow frame = changes waiting; chip = the sale */
.editing .product-card{position:relative}
.editing .product-card.edit-draft{border-color:#ffd84d!important;box-shadow:0 0 0 1px #ffd84d inset,0 0 24px #ffd84d22}
.editing .product-card.edit-hidden{opacity:.55}
.edit-tags{position:absolute;top:9px;left:9px;right:9px;z-index:3;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;pointer-events:none}
.edit-chip{padding:3px 9px;border-radius:999px;border:1px solid;font:600 10px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase;pointer-events:none;background:rgba(3,10,18,.85)}
.edit-chip.sale{color:#03140f;background:var(--teal);border-color:var(--teal)}
.edit-chip.soon{color:var(--gold);border-color:#e8c98799}
.edit-chip.hidden{color:#c3d0d6;border-color:#c3d0d677}
.edit-chip.sold{color:#d8c2f0;border-color:#d8c2f077}
.edit-chip.broken{color:#fff;background:#d94f4f;border-color:#ff9d9d}
.edit-chip.draft{margin-right:auto;color:#2a2000;background:#ffd84d;border-color:#ffd84d}
