/* Company : E.A. Consultancy Sales & Services Limited
   Title   : people.css (Spectrum people microsite)
   Author  : Eduardo Anderson
   Revision: 1.3
   Built   : 29-Nov 2026
   Function: Styles for the contact cards and the Privacy Notice. Colours and typefaces follow
             spectrumcpfinance.com and the Spectrum mark.
   Changelog: 1.1 card rebuilt as a dark pass around the profile photo, with a band of light that crosses the
                  card and breaks into the three Spectrum colours over the mark; Privacy Notice layout.
              1.2 the band of light is a slanted bar with soft edges on both sides.
              1.3 Spectrum mark half as large again on the card and the masthead. */
:root{
  --ink:#181818; --text:#3d3d3d; --muted:#6b6b6b; --rule:#e2e2e2; --ground:#f1f1f1; --sheet:#fff;
  --yellow:#f8cc0c; --red:#ec202c; --blue:#1880c0; --indigo:#2c3080; --go:#d0221f; --go-dark:#a91a18;
  --serif:"Lora",Georgia,"Times New Roman",serif; --label:"Raleway","Segoe UI",system-ui,sans-serif; --body:"Source Sans 3","Source Sans Pro","Segoe UI",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--text);font:17px/1.5 var(--body);min-height:100vh;display:flex;flex-direction:column}
a{color:var(--blue)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:4px}
[hidden]{display:none!important}

/* The Spectrum mark, and the light that crosses it */
.brand{position:relative;display:inline-block;line-height:0}
.brand img{display:block;height:60px;width:auto;max-width:100%}
.glint{position:absolute;inset:0;pointer-events:none;opacity:0;
  -webkit-mask:url(/static/spectrum-logo-white.png) center/100% 100% no-repeat;mask:url(/static/spectrum-logo-white.png) center/100% 100% no-repeat;
  background:linear-gradient(105deg,rgba(255,255,255,0) 32%,var(--yellow) 41%,var(--red) 50%,var(--blue) 59%,rgba(255,255,255,0) 68%) 130% 0/320% 100% no-repeat}

.mast{background:var(--ink);padding:max(14px,env(safe-area-inset-top)) 20px 14px;display:flex;justify-content:center}
.prism{display:flex;height:5px}
.prism i{flex:1}.prism i:nth-child(1){background:var(--yellow)}.prism i:nth-child(2){background:var(--red)}.prism i:nth-child(3){background:var(--blue)}

main{width:100%;max-width:480px;margin:0 auto;padding:26px 16px 8px;flex:1}
main.wide{max-width:780px}

/* The card */
.pass{position:relative;background:var(--sheet);border-radius:14px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.04),0 22px 48px -18px rgba(0,0,0,.38)}
.hero{position:relative;overflow:hidden;color:#fff;text-align:center;padding:26px 22px 62px;
  background:radial-gradient(90% 55% at 50% 0%,#343434 0%,rgba(52,52,52,0) 70%),var(--ink);
  -webkit-clip-path:polygon(0 0,100% 0,100% calc(100% - 34px),0 100%);clip-path:polygon(0 0,100% 0,100% calc(100% - 34px),0 100%)}
.hero .brand img{height:60px}
.sweep{position:absolute;top:0;bottom:0;left:-70%;width:48%;pointer-events:none;opacity:0;transform:skewX(-15deg);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.1) 30%,rgba(255,255,255,.36) 50%,rgba(255,255,255,.1) 70%,rgba(255,255,255,0))}
.facet{position:relative;height:40px;margin-top:-40px;
  background:linear-gradient(90deg,var(--yellow) 0 33.34%,var(--red) 0 66.67%,var(--blue) 0);
  -webkit-clip-path:polygon(0 calc(100% - 6px),100% 0,100% 6px,0 100%);clip-path:polygon(0 calc(100% - 6px),100% 0,100% 6px,0 100%)}

.face{position:relative;width:168px;height:168px;margin:26px auto 18px;padding:5px;border-radius:50%;
  background:conic-gradient(from -58deg,var(--yellow) 0 116deg,transparent 0 120deg,var(--red) 0 236deg,transparent 0 240deg,var(--blue) 0 356deg,transparent 0);
  box-shadow:0 18px 34px -10px rgba(0,0,0,.7)}
.face img,.face b{display:block;width:100%;height:100%;border-radius:50%;border:4px solid var(--ink);background:#fff;object-fit:cover}
.face b{display:grid;place-items:center;background:#262626;color:#fff;font:700 50px/1 var(--label);letter-spacing:.03em}
.face b.three{font-size:42px}

h1{font:700 32px/1.12 var(--serif);color:var(--ink);margin:0 0 8px;letter-spacing:-.005em}
.hero h1{color:#fff;text-wrap:balance}
h1 small{font:600 15px/1 var(--label);color:var(--muted);letter-spacing:0;white-space:nowrap}
.hero h1 small{color:#bdbdbd}
.role{margin:0 auto;max-width:34ch;font:600 14.5px/1.4 var(--label);color:#ececec;text-wrap:balance}
.org{margin:4px 0 0;font-size:15px;color:#a9a9a9}

.btn{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:12px 18px;border:0;border-radius:8px;
  font:700 16.5px/1.2 var(--label);text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.btn svg,.act svg,.qrb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.btn.save{background:var(--ink);color:#fff}
.btn.save:active{background:#000}
.hero .btn.save{background:#fff;color:var(--ink);margin-top:22px}
.hero .btn.save:hover{background:#f1f1f1}.hero .btn.save:active{background:#e4e4e4}
.btn.go{background:var(--go);color:#fff;margin-top:6px}
.btn.go:active,.btn.go:hover{background:var(--go-dark)}
.btn.go[disabled]{opacity:.6;cursor:progress}
.btn.ghost{background:#fff;color:var(--ink);border:1.5px solid var(--ink);min-height:46px}
.hero :focus-visible{outline-color:var(--yellow)}

.acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:10px;margin:10px 0 0}
.act{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 6px 12px;border:1.5px solid rgba(255,255,255,.2);border-radius:8px;
  color:#fff;text-decoration:none;font:600 14px/1 var(--label);background:rgba(255,255,255,.04)}
.act:active,.act:hover{border-color:#fff;background:rgba(255,255,255,.1)}

.sheet{padding:4px 22px 6px}
.lines{list-style:none;margin:0;padding:0}
.lines li{display:flex;justify-content:space-between;gap:16px;padding:12px 2px;border-bottom:1px solid var(--rule);font-size:16px}
.lines span{color:var(--muted)}
.lines a{color:var(--ink);text-decoration:none;text-align:right;overflow-wrap:anywhere}
.qrb{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px 12px;background:none;border:0;
  color:var(--muted);font:600 14.5px/1 var(--label);cursor:pointer}
.qrb:hover{color:var(--ink)}

/* Send your details */
.send,.note{background:var(--sheet);border:1px solid var(--rule);border-radius:14px}
.send{margin-top:16px;padding:24px 22px 24px}
h2{font:700 21px/1.2 var(--serif);color:var(--ink);margin:0 0 4px}
.lede{margin:0 0 16px;color:var(--muted);font-size:15.5px}
form label{display:block;font:600 14px/1.3 var(--label);color:var(--ink);margin:0 0 12px}
form label em{font-style:normal;font-weight:500;color:var(--muted)}
input[type=text],input[type=tel],input[type=email],input:not([type]),textarea{display:block;width:100%;margin-top:6px;padding:12px 12px;border:1.5px solid #c9c9c9;border-radius:8px;
  background:#fff;color:var(--ink);font:400 17px/1.3 var(--body);-webkit-appearance:none;appearance:none}
input:focus,textarea:focus{border-color:var(--blue);outline:0;box-shadow:0 0 0 3px rgba(24,128,192,.2)}
textarea{resize:vertical;min-height:84px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.check{display:flex;gap:10px;align-items:flex-start;font:400 14.5px/1.45 var(--body);color:var(--text);margin:4px 0 12px}
.check input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--ink)}
.check a{white-space:nowrap}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.err{margin:0 0 10px;padding:10px 12px;border-radius:8px;background:#fdecec;color:#8a1616;font-size:15px}
.done h2{margin-bottom:6px}.done p{margin:0 0 14px;color:var(--muted)}

.note{padding:28px 24px;margin-top:8px}
.note h1{font-size:26px;margin-bottom:10px}
.note p{margin:0 0 12px}.note p:last-child{margin-bottom:0}

/* Privacy Notice */
.notice{background:var(--sheet);border:1px solid var(--rule);border-radius:14px;padding:36px 40px 30px;margin-top:8px}
.notice>header{border-bottom:1px solid var(--rule);padding-bottom:18px;margin-bottom:22px}
.notice h1{font-size:36px;margin-bottom:6px}
.notice .sub{margin:0;font:600 15px/1.4 var(--label);color:var(--text)}
.notice .meta{display:flex;flex-wrap:wrap;gap:4px 22px;margin:10px 0 0;font-size:14.5px;color:var(--muted)}
.glance{background:#f6f6f6;border-left:4px solid var(--ink);padding:18px 20px 14px;margin-bottom:22px}
.glance h2{font:700 15px/1.2 var(--label);margin:0 0 10px}
.glance dl{margin:0;display:grid;gap:9px}
.glance dl div{display:grid;grid-template-columns:118px 1fr;gap:14px}
.glance dt{font:700 14px/1.5 var(--label);color:var(--ink)}
.glance dd{margin:0;font-size:16px;overflow-wrap:anywhere}
.glance p{margin:12px 0 0;font-size:14.5px;color:var(--muted)}
.toc ol{margin:0 0 6px;padding:0 0 0 22px;columns:2;column-gap:36px;font-size:15.5px}
.toc li{margin:0 0 5px;break-inside:avoid}
.toc a{color:var(--ink);text-decoration-color:#bdbdbd;text-underline-offset:3px}
.toc a:hover{text-decoration-color:var(--ink)}
.notice section[id]{border-top:1px solid var(--rule);margin-top:22px;padding-top:22px;scroll-margin-top:12px}
.notice section h2{font-size:22px;margin:0 0 10px}
.notice section h2 span{color:var(--muted);font-weight:600;margin-right:4px}
.notice p,.notice li{max-width:68ch}
.notice p{margin:0 0 12px}
.notice ul,.notice section ol{margin:0 0 12px;padding-left:22px}
.notice li{margin-bottom:7px}
.notice li b{color:var(--ink);font-weight:600}
.notice section dl{margin:4px 0 14px;border-top:1px solid var(--rule)}
.notice section dl div{display:grid;grid-template-columns:minmax(150px,240px) 1fr;gap:14px;padding:9px 0;border-bottom:1px solid var(--rule)}
.notice section dt{font:600 14.5px/1.5 var(--label);color:var(--muted)}
.notice section dd{margin:0;color:var(--ink);overflow-wrap:anywhere}

footer{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;padding:20px 16px max(24px,env(safe-area-inset-bottom));font-size:13.5px;color:var(--muted)}
footer a{color:var(--muted)}

dialog{border:0;border-radius:12px;padding:0;max-width:min(92vw,360px);width:100%}
dialog::backdrop{background:rgba(24,24,24,.78)}
.qrbox{padding:22px 20px 18px;text-align:center}
#qr svg,#qr img{display:block;width:100%;height:auto;max-width:280px;margin:0 auto 12px}
.qrbox p{margin:0;font:700 17px/1.3 var(--serif);color:var(--ink)}
.qrbox .u{font:400 14px/1.4 var(--body);color:var(--muted);margin:2px 0 14px;overflow-wrap:anywhere}

/* On a phone the card runs edge to edge, from the top of the screen */
@media (max-width:520px){
  body.cardpage{background:var(--sheet)}
  .cardpage main{padding:0 0 4px}
  .pass{border-radius:0;box-shadow:none}
  .hero{padding-top:max(22px,env(safe-area-inset-top))}
  .cardpage .send{border-radius:0;border-width:10px 0 0;border-color:var(--ground);margin-top:8px;padding:24px 20px}
  .notice{padding:26px 20px 22px}.notice h1{font-size:30px}
  .toc ol{columns:1}
  .glance dl div,.notice section dl div{grid-template-columns:1fr;gap:1px}
}
@media (max-width:380px){.two{grid-template-columns:1fr;gap:0}h1{font-size:28px}.face{width:150px;height:150px}.face b{font-size:44px}}

/* Light: one pass shortly after the page opens, then again every few seconds */
@media (prefers-reduced-motion:no-preference){
  .sweep{animation:sweep 6.5s .6s linear infinite}
  .glint{animation:glint 6.5s .6s linear infinite}
  .mast .glint{animation-delay:.4s}
  @keyframes sweep{0%{transform:translateX(0) skewX(-15deg);opacity:0}2%{opacity:1}32%{opacity:1}34%,100%{transform:translateX(430%) skewX(-15deg);opacity:0}}
  @keyframes glint{0%,4%{background-position:130% 0;opacity:0}6%{opacity:1}22%{opacity:1}24%,100%{background-position:-30% 0;opacity:0}}
  .face{animation:face .6s cubic-bezier(.2,.8,.2,1) both}
  @keyframes face{from{transform:scale(.9) rotate(-24deg);opacity:0}to{transform:none;opacity:1}}
  .face img,.face b{animation:unturn .6s cubic-bezier(.2,.8,.2,1) both}
  @keyframes unturn{from{transform:rotate(24deg)}to{transform:none}}
  .done{animation:in .25s ease-out}@keyframes in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
}
@media print{.mast,.prism,footer,.toc{display:none}body{background:#fff}.notice{border:0;padding:0}main.wide{max-width:none}}
