/* Home: the map edge to edge, then full-width bands, each in one folder's colours, face and light (css/folders.css .f-<folder>).
   Light is broad: a beam texture washing down from the top of each band, haze around each frame, a hot spot on each card's top edge (base.css). */
:root{--hm-text:"Public Sans",system-ui,sans-serif;color-scheme:dark}
body{background:#05070d;color:#eef1f7;font:400 17px/1.6 var(--hm-text)}

/* hero */
.hm-map{position:relative;height:100vh;min-height:620px;max-height:1000px;margin-top:-60px;background:#040810}
.hm-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.hm-over{position:absolute;left:max(30px,env(safe-area-inset-left,0px));bottom:40px;width:min(580px,calc(100% - 60px));padding:26px 28px 24px;color:#eef1f7;
  --g-fill:linear-gradient(180deg,rgba(16,20,32,.8),rgba(6,8,14,.88));-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3)}
.hm-over h1{margin:0;font:600 clamp(40px,5.4vw,68px)/1 "EB Garamond",Garamond,Georgia,serif;letter-spacing:0;word-spacing:0}
.hm-over p{margin:12px 0 20px;color:#d3d8e3;font-size:17px;max-width:46ch}
.hm-acts{display:flex;flex-wrap:wrap;gap:12px}
@media (max-width:700px){.hm-over{left:16px;right:16px;width:auto;bottom:20px;padding:18px}.hm-over h1{font-size:36px}.hm-over p{display:none}
  .hm-acts{margin-top:14px;gap:10px}.hm-acts .gbtn{padding:12px 16px;font-size:14px}.hm-map{min-height:560px}}

/* a band: the folder's ground, a broad wash of its light from the top */
.hm-band{position:relative;isolation:isolate;overflow:hidden;background:var(--fb);color:var(--ff)}
.hm-band::before,.hm-band::after{content:"";position:absolute;z-index:-1;pointer-events:none;background:var(--lc);mix-blend-mode:var(--lblend);
  -webkit-mask:url(/light/beam-wide.webp) center top/100% 100% no-repeat;mask:url(/light/beam-wide.webp) center top/100% 100% no-repeat;filter:blur(70px)}
.hm-band::before{left:-30%;top:-60%;width:140%;height:260%;transform:rotate(22deg);transform-origin:50% 0;opacity:calc(var(--lo) * 2.4)}
.hm-band::after{right:-40%;top:-50%;width:130%;height:240%;transform:rotate(-26deg);transform-origin:50% 0;opacity:calc(var(--lo) * 1.6);
  -webkit-mask-image:url(/light/beam-soft.webp);mask-image:url(/light/beam-soft.webp);filter:blur(90px)}

.hm-sec{max-width:1320px;margin:0 auto;padding:96px max(24px,env(safe-area-inset-right,0px)) 110px max(24px,env(safe-area-inset-left,0px));scroll-margin-top:60px}
.hm-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;align-items:end;margin-bottom:40px}
.hm-head h2{margin:0;font-family:var(--fd);font-weight:var(--fw);font-size:clamp(36px,4.6vw,62px);line-height:1.02;word-spacing:.1em;color:var(--ff)}
.hm-head h2::before{content:"";display:inline-block;width:.6em;height:.6em;margin-right:.34em;vertical-align:.04em;background:currentColor;
  -webkit-mask:url(/egret.svg) center/contain no-repeat;mask:url(/egret.svg) center/contain no-repeat}
.hm-head p{grid-column:1;margin:0;color:var(--fm);max-width:62ch;font-size:18px}
.hm-head .gbtn{grid-column:2;grid-row:1/3;align-self:end;white-space:nowrap}
@media (max-width:700px){.hm-head{grid-template-columns:minmax(0,1fr)}.hm-head .gbtn{grid-column:1;grid-row:auto;justify-self:start}.hm-sec{padding-top:64px;padding-bottom:72px}}

/* the folders: one door per folder in its own colours and face */
.hm-fdgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
@media (max-width:1100px){.hm-fdgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:800px){.hm-fdgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media (max-width:480px){.hm-fdgrid{gap:14px}.fd{min-height:178px;padding:16px 14px 14px;border-radius:20px}.fd b{font-size:21px}.fd-line{font-size:12.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.fd-face span{display:none}.fd-face picture{width:36px;height:36px}}
.fd{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;gap:10px;min-height:250px;padding:22px 22px 18px;border-radius:24px;text-decoration:none;
  background:var(--fb);color:var(--ff);border:1px solid color-mix(in srgb,var(--ff) 14%,transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 20px 40px -30px rgba(0,0,0,.8);transition:border-color .2s}
a.fd:hover{border-color:color-mix(in srgb,var(--lc) 60%,transparent)}
.fd b{font-family:var(--fd);font-weight:var(--fw);font-size:30px;line-height:1.05;word-spacing:.06em}
.fd-line{font-size:14.5px;line-height:1.45;color:var(--fm)}
.fd-face{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:600}
.fd-face picture{width:44px;height:44px;flex:none;border-radius:50%;overflow:hidden}
.fd-face img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}

.f-hollywood .fd-face img,.f-hollywood .hm-ph img{filter:grayscale(1) contrast(1.05)}

/* the map's guide: one slim strip under the map, same ground */
.hm-guide{background:#040810;color:#e9edf4;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.hm-gwrap{max-width:1320px;margin:0 auto;padding:22px max(24px,env(safe-area-inset-right,0px)) 24px max(24px,env(safe-area-inset-left,0px));display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center}
.hm-guide h2{margin:0;font:400 26px/1.1 Gloock,Georgia,serif;word-spacing:.1em}
.hm-guide ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.hm-guide li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:0 12px;align-items:start;--lc:#ffd36b}
.hm-guide li>span:first-child{grid-row:1/3;height:40px}
.hm-guide b{font-size:15px;font-weight:700}
.hm-guide li>span:last-child{font-size:14px;line-height:1.45;color:#a3aec2}
@media (max-width:1000px){.hm-gwrap{grid-template-columns:minmax(0,1fr);gap:14px}.hm-guide ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (max-width:520px){.hm-guide ul{grid-template-columns:minmax(0,1fr)}}
.hm-dot,.hm-arc,.hm-card,.hm-dial{display:block;height:40px;position:relative}
.hm-dot::before{content:"";position:absolute;left:10px;top:10px;width:26px;height:26px;border-radius:50%;border:1.5px solid var(--lc)}
.hm-dot::after{content:"";position:absolute;left:20px;top:20px;width:6px;height:6px;border-radius:50%;background:#fff6e0}
.hm-arc::before{content:"";position:absolute;left:4px;top:14px;width:78px;height:46px;border:1.5px solid var(--lc);border-color:var(--lc) transparent transparent transparent;border-radius:50%}
.hm-card::before{content:"";position:absolute;left:4px;top:2px;width:32px;height:40px;border-radius:8px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.hm-card::after{content:"";position:absolute;left:46px;top:10px;width:46px;height:2px;background:var(--lc);box-shadow:0 10px 0 rgba(255,255,255,.3),0 20px 0 rgba(255,255,255,.2)}
.hm-dial::before{content:"";position:absolute;left:4px;top:22px;width:110px;height:2px;border-radius:1px;background:rgba(255,255,255,.25)}
.hm-dial::after{content:"";position:absolute;left:62px;top:13px;width:18px;height:18px;border-radius:50%;background:var(--lc)}

/* case bento: one large card and four small inside a lit frame, in the band's colours */
.hm-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}
.hm-tile{display:grid;grid-template-rows:auto auto auto 1fr;gap:6px;padding:12px 12px 20px;text-decoration:none;color:var(--ff);min-width:0}
.hm-big{grid-column:span 2;grid-row:span 2}
.hm-ph{aspect-ratio:4/3;overflow:hidden;border-radius:16px;margin-bottom:10px;background:color-mix(in srgb,var(--fb) 80%,#000)}
.hm-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.hm-meta{font:600 13px/1.3 var(--hm-text);color:var(--lc);padding:0 6px}
.hm-tile b{font-family:var(--fd);font-weight:var(--fw);font-size:24px;line-height:1.1;word-spacing:.06em;padding:0 6px}
.hm-big b{font-size:38px}
.hm-h{font-size:14.5px;line-height:1.45;color:var(--fm);padding:0 6px}
.hm-big .hm-h{font-size:17px}
@media (max-width:1000px){.hm-bento{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.hm-bento{grid-template-columns:minmax(0,1fr)}.hm-big{grid-column:auto;grid-row:auto}.gframe{padding:14px;border-radius:28px}}
.f-fortunes .hm-ph img{filter:sepia(.2) saturate(.85)}

/* the editor: three quarters about him (small portrait, bio, credentials), one quarter links and sourcing rules; both end level */
.hm-edgrid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:30px;align-items:stretch}
@media (max-width:900px){.hm-edgrid{grid-template-columns:minmax(0,1fr)}}
.hm-edmain{display:flex;flex-direction:column;gap:22px;padding:28px;color:var(--ff)}
.hm-edmain .gbtn{align-self:flex-start;margin-top:auto}
.hm-edtop{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;align-items:center}
.hm-edtop img{width:120px;height:120px;object-fit:cover;border-radius:16px}
@media (max-width:520px){.hm-edtop{grid-template-columns:84px minmax(0,1fr);gap:16px}.hm-edtop img{width:84px;height:84px}}
.hm-edmain h3,.hm-edside h3{margin:0 0 8px;font:400 30px/1.1 Gloock,Georgia,serif;word-spacing:.1em}
.hm-edtop p{margin:0;color:var(--fm);max-width:66ch}
.hm-edside{padding:26px 24px;color:var(--ff);display:flex;flex-direction:column}
.hm-edside h3{font-size:22px}
.hm-edside h3+ul{margin-bottom:24px}
.hm-creds{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
@media (max-width:640px){.hm-creds{grid-template-columns:minmax(0,1fr)}}
.hm-links,.hm-rules{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hm-creds li,.hm-links li,.hm-rules li{position:relative;padding-left:24px}
.hm-creds li::before,.hm-links li::before,.hm-rules li::before{content:"";position:absolute;left:0;top:.3em;width:15px;height:15px;background:var(--ff);opacity:.75;
  -webkit-mask:url(/egret.svg) center/contain no-repeat;mask:url(/egret.svg) center/contain no-repeat}
.hm-creds b{display:block;font-size:15.5px}
.hm-creds span{display:block;font-size:14px;line-height:1.45;color:var(--fm)}
.hm-rules li{font-size:14px;line-height:1.45;color:var(--fm)}
.hm-links a{font-weight:600;color:var(--ff);text-decoration-color:var(--lc);text-underline-offset:3px}

/* editor page */
.ed-page{max-width:1000px;margin:0 auto;padding:56px max(18px,env(safe-area-inset-right,0px)) 72px max(18px,env(safe-area-inset-left,0px));display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:40px}
@media (max-width:760px){.ed-page{grid-template-columns:minmax(0,1fr)}}
.ed-page img{width:100%;border-radius:18px}
.ed-page h1{font:400 clamp(34px,5vw,52px)/1.05 Gloock,Georgia,serif;word-spacing:.1em;margin:0 0 14px}
.ed-page h2{font:400 24px/1.2 Gloock,Georgia,serif;margin:28px 0 8px;color:#ffd36b}
.ed-page p{color:#c9d0dd;max-width:60ch}
.ed-page a{color:#eef1f7}

/* 404 */
.nf{max-width:760px;margin:0 auto;padding:72px max(18px,env(safe-area-inset-right,0px)) 72px max(18px,env(safe-area-inset-left,0px))}
.nf h1{font:400 clamp(34px,5vw,52px)/1.05 Gloock,Georgia,serif;margin:0 0 12px}
.nf p{color:#c9d0dd}
.nf a{color:#ffd36b}
.nf ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}

/* guide icons sized to the 44 px slot */
.hm-guide .hm-dot::before{left:4px;top:6px}.hm-guide .hm-dot::after{left:14px;top:16px}.hm-guide .hm-arc::before{left:0;top:12px;width:44px;height:30px}.hm-guide .hm-card::before{left:6px;top:0;width:28px;height:36px}.hm-guide .hm-card::after{display:none}.hm-guide .hm-dial::before{left:0;top:19px;width:44px}.hm-guide .hm-dial::after{left:16px;top:11px}

/* /contact/ (home.contact) */
body.ct-body{background:#0a0d14}
.ct-page{max-width:720px;margin:0 auto;padding:56px 20px 80px;color:#e9ecf3;font:400 17px/1.6 "Public Sans",system-ui,sans-serif}
.ct-page h1{margin:0;font:600 clamp(40px,6vw,64px)/1 "EB Garamond",Garamond,Georgia,serif}
.ct-lead{margin:16px 0 28px;color:#c3c9d6}
.ct-form{padding:0;border-radius:14px;overflow:hidden;background:#fffdf8;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.ct-form label{margin-top:8px;font-weight:600;font-size:15px}
.ct-form input,.ct-form select,.ct-form textarea{width:100%;box-sizing:border-box;padding:11px 12px;border-radius:9px;border:1px solid rgba(255,255,255,.2);background:rgba(4,6,12,.6);color:#f1f3f8;font:inherit;font-size:16px}
.ct-form input[readonly]{color:#98a0b2}
.ct-form button{margin-top:14px;justify-self:start;cursor:pointer}
.ct-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.ct-status{min-height:1.4em;margin:6px 0 0;color:#f0c46a}
.ct-mail,.ct-ed{margin-top:18px;color:#98a0b2}
.ct-page a{color:#f1f3f8}

/* phones: one door per row, the full line, the face on the right */
@media (max-width:560px){
  .hm-fdgrid{grid-template-columns:minmax(0,1fr);gap:12px}
  .fd{min-height:0;grid-template-columns:minmax(0,1fr) 52px;grid-template-rows:auto auto;gap:6px 14px;padding:18px 16px 18px 20px;border-radius:20px;align-items:center}
  .fd b{grid-column:1;font-size:26px;overflow-wrap:break-word}
  .fd-line{grid-column:1;font-size:14.5px;display:block;-webkit-line-clamp:unset;overflow:visible}
  .fd-face{grid-column:2;grid-row:1/3;justify-content:flex-end}.fd-face picture{width:52px;height:52px}
}
