/* Craigish Apps — authored for Craig Gauthier. No remote dependencies. */
:root{color-scheme:light;--paper:#f5f4ef;--ink:#263d36;--muted:#64716a;--line:#d9ded4;--teal:#2a6b61}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #216d61;outline-offset:6px;border-radius:4px}a:hover{text-decoration:underline;text-underline-offset:5px}.wrap{width:min(1192px,calc(100% - 96px));margin-inline:auto}.skip-link{position:absolute;z-index:20;top:10px;left:16px;padding:12px 18px;background:white;transform:translateY(-160%)}.skip-link:focus{transform:none}.site-header{height:108px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:750;letter-spacing:-1.2px}.brand-mark{display:block;width:37px;height:37px;object-fit:contain;background:#fdfcf7;border:1px solid var(--line);border-radius:11px}.brand-dot{font-size:10px;align-self:flex-start;letter-spacing:0;margin-left:-7px;margin-top:4px}nav{display:flex;gap:30px;align-items:center;font-size:14px;font-weight:600}nav a{min-height:44px;display:flex;gap:8px;align-items:center}.nav-current{background:#e4e9df;padding:9px 19px;border-radius:30px}nav a span{font-size:16px;color:#708076}.intro{display:flex;justify-content:space-between;gap:32px;align-items:flex-end;padding:51px 0 38px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.2px;display:flex;align-items:center;gap:9px;margin:0 0 17px}.eyebrow>span{width:6px;height:6px;background:#6b8d70;border-radius:50%}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,4.1vw,57px);font-weight:400;letter-spacing:-2.3px;line-height:1.06;margin:0}h1>span{color:#718171}.intro-note{color:var(--muted);font-size:14px;line-height:1.8;margin:0 0 4px;max-width:285px}.collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.tile{min-width:0;background:#fdfdf9;border:1px solid #d8dfd5;border-radius:22px;overflow:hidden;box-shadow:0 4px 5px #263d3603,0 15px 30px -22px #263d3660}.biome{height:326px;position:relative;overflow:hidden;isolation:isolate}.scene-number{position:absolute;top:22px;left:24px;z-index:8;font-size:9px;letter-spacing:1.8px;font-weight:600;color:#435f59}.world-caption{position:absolute;z-index:9;bottom:17px;left:24px;font-size:11px;color:#52665d;letter-spacing:.2px}.care-world{background:radial-gradient(ellipse at 71% 13%,#f3f4d7 0,transparent 45%),linear-gradient(110deg,#b8d4c6,#dbe4cd 62%,#b6d0be)}.care-window{position:absolute;top:-45px;right:54px;width:177px;height:275px;border-radius:110px 110px 0 0;border:12px solid #c5d7c4;background:linear-gradient(145deg,#f6f6da,#edf0ce 50%,#dbe5ca);box-shadow:inset 6px 0 12px #7eaa9922,8px 4px 10px #769b8620;transform:skewY(-6deg)}.care-window:before{content:"";position:absolute;left:47%;top:0;height:100%;width:6px;background:#c5d7c4}.care-window:after{content:"";position:absolute;top:55%;width:100%;height:6px;background:#c5d7c4}.sunbeam{position:absolute;right:38px;top:0;width:330px;height:420px;transform:rotate(32deg);background:linear-gradient(90deg,transparent,#fffce944,transparent);pointer-events:none}.care-floor{position:absolute;bottom:-30px;left:-5%;width:110%;height:125px;background:linear-gradient(155deg,#d9dfc7,#afc6af);transform:skewY(-5deg);box-shadow:0 -1px 0 #eff2dd}.pedestal{position:absolute;left:22%;bottom:35px;width:57%;height:54px;border-radius:50%;background:linear-gradient(#f2e6c9 0 45%,#cbbb9d 47%,#d9cbaa 82%);box-shadow:0 15px 15px -9px #385b5355}.pedestal:before{content:"";position:absolute;inset:0 0 12px;background:linear-gradient(140deg,#fff0d5,#e3d6b9);border-radius:50%;box-shadow:inset 0 2px 0 #fff7e7}.binder{position:absolute;width:310px;height:310px;object-fit:contain;left:50%;top:13px;transform:translateX(-52%) rotate(-8deg);filter:drop-shadow(12px 18px 12px #234c4940);z-index:6;animation:binder-arrive 2.8s ease-out both}.plant{position:absolute;width:123px;height:207px;right:11px;bottom:32px;z-index:5;filter:drop-shadow(5px 9px 5px #41665025)}.paper{position:absolute;background:#fcf9eb;box-shadow:5px 8px 14px #45675820;border-radius:4px;z-index:3;width:112px;height:145px;padding:15px}.paper-back{left:34px;bottom:65px;transform:rotate(-15deg);color:#6b8272}.paper span{display:block;font-size:8px;letter-spacing:1px;white-space:nowrap}.paper i{display:block;height:1px;background:#ccd5c7;margin-top:12px;width:100%}.paper i:nth-child(3){width:75%}.paper b{display:block;margin-top:13px;font-size:27px;font-weight:400}.paper-front{right:68px;bottom:69px;transform:rotate(14deg);height:117px;width:97px;z-index:4;color:#50685e}.note-paw{font-size:26px;margin-top:3px;color:#b99e67}.forming-world{background:radial-gradient(ellipse at 58% 20%,#eeeadf,transparent 62%),linear-gradient(145deg,#d6dfdd,#e4e5dd 65%,#c9d6d1)}.forming-sun{position:absolute;width:100px;height:100px;border-radius:50%;top:46px;right:89px;background:linear-gradient(135deg,#fff9e5,#ede5ce);box-shadow:0 0 60px 15px #fffbed55;animation:sun-arrive 3.8s ease-out both}.cloud{position:absolute;border-radius:50%;background:#fffefa80;filter:blur(12px);height:19px}.cloud-one{width:120px;top:110px;left:48px;transform:rotate(-7deg)}.cloud-two{width:124px;top:164px;right:29px}.island{position:absolute;width:94%;height:94%;left:3%;bottom:-3px;filter:drop-shadow(0 20px 10px #64776c10);animation:island-arrive 3.4s ease-out both}.tile-copy{padding:25px 27px 0;min-height:204px;display:flex;flex-direction:column}.tile-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}h2{font-size:29px;letter-spacing:-1.3px;margin:0;font-weight:650;line-height:1.2}.title-dot{color:#759c7c}.status{display:flex;align-items:center;gap:6px;background:#eaf0e6;border:1px solid #dfe6d8;border-radius:20px;white-space:nowrap;padding:6px 10px;font-size:10px;font-weight:600;color:#496343}.status>span{height:5px;width:5px;border-radius:50%;background:#779064}.status.quiet{background:#f0f0e9;color:#6a7364;border-color:#e3e6dd}.tile-copy>p{font-size:14px;line-height:1.7;color:#617067;margin:13px 0 20px;max-width:440px}.tile-foot{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;border-top:1px solid #e5e8df;padding:16px 0 18px;margin-top:auto;color:#5d7164;font-size:9px;letter-spacing:1.15px;font-weight:600}.preview-note{font-size:10px;font-weight:400;letter-spacing:0;color:#68756b}.collection-note{display:flex;align-items:center;justify-content:center;gap:10px;color:#6d7a6d;font-size:11px;margin:25px 0 39px}.collection-note>span{font-size:20px;color:#8c9d7f}.site-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:83px;font-size:11px;color:#69746b}.site-footer p{margin:0}.site-footer a{display:inline-flex;align-items:center;gap:6px;min-height:44px}.site-footer>p>a{font-weight:650;color:#3d584b}
.tile-link{display:block;height:100%;color:inherit;text-decoration:none}.tile-link:hover{text-decoration:none}.tile-link:focus-visible{outline:3px solid #216d61;outline-offset:-5px;border-radius:21px}.tile-link:hover .preview-note{text-decoration:underline;text-underline-offset:4px}
.atlas-world{background:radial-gradient(circle at 78% 18%,#f8ecc5 0,transparent 35%),linear-gradient(145deg,#aab6a2,#d7d5b4 48%,#9fae9c)}
.atlas-world:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 28px,#fff8df18 29px 30px);opacity:.6}
.atlas-glow{position:absolute;left:7%;top:13%;width:75%;height:65%;border-radius:50%;background:#fff2cb80;filter:blur(44px)}
.atlas-art{position:absolute;width:100%;height:100%;inset:0;filter:drop-shadow(0 18px 13px #4e5f4730);animation:atlas-arrive 3s ease-out both}
.atlas-world .scene-number,.atlas-world .world-caption{color:#3f584c}
.vellum .title-dot{color:#a35f43}
.shape-world{background:radial-gradient(ellipse at 49% 48%,#33444b 0,#1d2a31 48%,#111c22 100%)}
.shape-world:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#9cb2b014 1px,transparent 1px),linear-gradient(90deg,#9cb2b014 1px,transparent 1px);background-size:27px 27px;mask-image:linear-gradient(to bottom,transparent,#000 32%,#000 78%,transparent)}
.shape-halo{position:absolute;left:26%;top:12%;width:48%;height:67%;border-radius:50%;background:#f17d2f33;filter:blur(38px)}
.shape-art{position:absolute;width:100%;height:100%;inset:0;filter:drop-shadow(0 19px 16px #060c0d77);animation:shape-arrive 3s ease-out both}
.shape-world .scene-number,.shape-world .world-caption{color:#d9b8a2}
.shape .title-dot{color:#ef843e}
.shape .status{background:#f7ede5;color:#8b512e;border-color:#efdacb}
@keyframes atlas-arrive{from{transform:translateY(8px) rotate(1deg);opacity:.8}to{transform:translateY(0) rotate(0);opacity:1}}
@keyframes shape-arrive{from{transform:translateY(12px);opacity:.7}to{transform:translateY(0);opacity:1}}
@keyframes binder-arrive{from{transform:translateX(-52%) translateY(8px) rotate(-11deg)}to{transform:translateX(-52%) rotate(-8deg)}}@keyframes island-arrive{from{transform:translateY(10px)}to{transform:translateY(0)}}@keyframes sun-arrive{from{transform:translateY(5px);opacity:.6}to{transform:translateY(0);opacity:1}}
.portal-world{background:radial-gradient(ellipse at 54% 44%,#213957 0,#101e32 55%,#0b1320 100%)}
.portal-world:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 25%,#b08af61c,transparent 42%)}
.portal-world .scene-number,.portal-world .world-caption{color:#b6d4e4}
.portal-art{position:absolute;width:100%;height:100%;inset:0;animation:shape-arrive 2.8s ease-out both}
.pyli .title-dot{color:#6489b5}.app-subtitle{display:block;font-size:12px;letter-spacing:.6px;font-weight:500;margin-top:4px;color:#617067}
.portal-transfer{animation:portal-flow 12s linear infinite}
@keyframes portal-flow{to{stroke-dashoffset:-140}}
@media(min-width:1500px){.intro{padding-top:65px;padding-bottom:44px}.biome{height:355px}.binder{width:335px;height:335px}.tile-copy{min-height:211px}}
@media(max-width:1000px){.wrap{width:calc(100% - 56px)}.intro-note{max-width:230px}.biome{height:280px}.binder{width:275px;height:275px;top:0}.plant{right:-13px;width:105px}.paper-back{left:16px;width:95px}.paper-front{right:39px;width:87px}.tile-copy{padding:23px 22px 0;min-height:231px}.tile-heading{gap:8px}h2{font-size:26px}.status{font-size:9px;padding:6px 8px}.collection{gap:20px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.site-header{height:83px}.brand{font-size:21px}.brand-mark{width:33px;height:33px}nav{gap:17px;font-size:12px}.nav-current{display:none}.intro{display:block;padding:35px 0 29px}.eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:15px}h1{font-size:43px;letter-spacing:-1.7px}.intro-note{max-width:100%;font-size:13px;line-height:1.65;margin-top:19px}.desktop-break{display:none}.collection{grid-template-columns:minmax(0,1fr);gap:23px}.biome{height:292px}.binder{height:289px;width:289px;top:5px}.plant{right:0;width:113px;height:190px}.paper-back{left:25px;bottom:62px}.paper-front{right:43px}.tile{border-radius:19px}.tile-copy{min-height:211px;padding:23px 23px 0}h2{font-size:28px}.status{font-size:10px}.tile-copy>p{font-size:14px;margin-bottom:20px}.tile-foot{font-size:8px}.scene-number{left:21px;top:21px;font-size:8px}.world-caption{left:21px;font-size:10px}.forming-sun{right:61px;top:45px;width:85px;height:85px}.island{width:108%;height:98%;left:-4%}.collection-note{font-size:10px;margin:22px 0 29px;gap:7px}.site-footer{flex-wrap:wrap;justify-content:space-between;padding:13px 0 20px;gap:0 12px}.site-footer>p{display:none}}
@media(max-width:370px){h1{font-size:37px}.brand{font-size:19px}nav{gap:13px}.tile-copy{padding-inline:18px}h2{font-size:25px}.status{font-size:9px}.binder{width:265px;height:265px;top:15px}.paper-back{left:15px}.plant{right:-14px}.collection-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.tile,.status,.nav-current{border:1px solid CanvasText}.brand-mark{border:1px solid CanvasText}a:focus-visible{outline-color:Highlight}}

/* Dev portal embed contract (`?embed=dev#embed-dev`): the fragment targets
   body#embed-dev and flips the shared sizing variables below so both showcase
   grids align inside the portal's clipped panes. The standalone layout is
   untouched. Keep every --e-* value identical to the other showcase sheet. */
body:target{
  --e-head:84px;--e-intro:160px;--e-sub:44px;--e-gap:24px;
  --e-biome:300px;--e-copy:215px;--e-wrap:min(1180px,calc(100% - 96px));
}
@media(max-width:1100px){body:target{--e-wrap:calc(100% - 64px);--e-biome:280px;--e-copy:230px}}
@media(max-width:700px){body:target{--e-head:70px;--e-intro:185px;--e-sub:36px;
  --e-wrap:calc(100% - 36px);--e-gap:22px;--e-biome:265px;--e-copy:280px}}
@media(max-width:370px){body:target{--e-intro:195px;--e-biome:245px}}body:target .wrap{width:var(--e-wrap)}
body:target .site-header{height:var(--e-head)}
body:target .intro{height:var(--e-intro);padding:0;align-items:center}
body:target .collection{gap:var(--e-gap);margin-top:var(--e-sub)}
body:target .biome{height:var(--e-biome)}
body:target .tile-copy{min-height:var(--e-copy)}
