/* Standalone advisor profiles. Reuses the main Davro type, colour, button, nav and footer system. */
.profile-page{background:var(--paper);color:var(--text)}
.profile-page #nav{--navfg:#fff}
.profile-page #nav.onlight,.profile-page #nav.nav-past-midpoint{--navfg:var(--text)}
.profile-page #nav .cta{min-width:154px}
.profile-defs{position:absolute;pointer-events:none}
.profile-main{display:block;overflow:hidden}

.profile-hero{position:relative;min-height:100vh;min-height:100svh;display:grid;grid-template-columns:minmax(0,.98fr) minmax(420px,.72fr);gap:clamp(48px,7vw,112px);align-items:start;padding:clamp(150px,18vh,190px) var(--gutter) clamp(90px,10vh,120px);isolation:isolate;overflow:hidden}
.profile-glow{position:absolute;z-index:-3;inset:-25% -12%;background:radial-gradient(circle at 76% 42%,rgba(139,92,246,.72),rgba(106,41,210,.27) 28%,rgba(11,8,24,0) 64%);pointer-events:none}
.profile-pipes{position:absolute;z-index:-2;inset:0;width:100%;height:100%;pointer-events:none}
.profile-pipes path{fill:none;stroke:rgba(255,255,255,.42);stroke-width:1}
.profile-hero-mark{position:absolute;z-index:-1;right:-2vw;bottom:-21vh;height:min(88vh,850px);width:auto;opacity:.24;pointer-events:none;filter:drop-shadow(0 26px 70px rgba(35,11,78,.38))}
.profile-hero-mark .s{stroke:url(#profile-d-gradient) #6A29D2}
.profile-hero-mark .bowl{stroke-dasharray:1;stroke-dashoffset:1;animation:profile-d-bowl 1.45s .36s var(--ease) forwards}
.profile-hero-mark .stem{stroke-dasharray:1 2;stroke-dashoffset:-1.001;animation:profile-d-stem 1.35s .58s var(--ease) forwards}
@keyframes profile-d-bowl{to{stroke-dashoffset:0}}
@keyframes profile-d-stem{to{stroke-dashoffset:0}}

.profile-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:20px;max-width:760px}
.profile-hero-copy>.mono{color:var(--violet-lt)}
.profile-hero-copy .h{font-size:clamp(58px,7vw,116px);color:#fff;max-width:8.5ch}
.profile-title{margin:0;color:var(--violet-lt);font-size:clamp(22px,2vw,30px);font-weight:600;letter-spacing:-.02em}
.profile-hero-summary{display:grid;gap:10px;max-width:650px}
.profile-hero-summary .profile-lead{margin:0;color:#fff;font-size:clamp(23px,2.2vw,31px);line-height:1.28;letter-spacing:-.018em}
.profile-hero-summary .p{color:var(--on-dark-2);max-width:54ch;font-size:clamp(17px,1.25vw,20px)}
.profile-biography{position:relative;z-index:2;width:100%;max-width:650px}
.profile-bio-toggle{display:none}
.profile-hero-tools{width:100%;margin-top:8px;scroll-margin-top:110px}
.profile-actions{display:flex;gap:12px;flex-wrap:wrap}
.profile-actions .btn{min-width:174px}
.profile-contact-toggle i{position:relative;z-index:1;flex:0 0 24px;width:24px;height:24px;border:1px solid rgba(255,255,255,.42);border-radius:50%}
.profile-contact-toggle i::before,.profile-contact-toggle i::after{content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;background:#fff;transform:translate(-50%,-50%);transition:transform .25s ease}
.profile-contact-toggle i::after{transform:translate(-50%,-50%) rotate(90deg)}
.profile-contact-toggle[aria-expanded="true"] i::after{transform:translate(-50%,-50%) rotate(0)}
.profile-contact-toggle[aria-expanded="true"]{border-color:rgba(182,154,240,.78);background:rgba(106,41,210,.56)}

.profile-portrait{position:relative;z-index:2;margin:0;justify-self:end;width:min(38vw,560px);perspective:1400px;container:profile-card/inline-size}
.profile-card-inner{position:relative;width:100%;aspect-ratio:1;transform-style:preserve-3d;transition:transform .82s cubic-bezier(.22,.74,.2,1);will-change:transform}
.profile-contact-card.is-flipped .profile-card-inner{transform:rotateY(180deg)}
.profile-card-face{position:absolute;inset:0;width:100%;height:100%;border:1px solid rgba(255,255,255,.2);border-radius:38px;overflow:hidden;box-shadow:0 55px 110px -42px rgba(0,0,0,.72);backface-visibility:hidden;-webkit-backface-visibility:hidden}
.profile-card-face[aria-hidden="true"]{pointer-events:none}
.profile-card-front{display:block;appearance:none;margin:0;padding:0;background:var(--violet);color:#fff;text-align:left;cursor:pointer;transform:rotateY(0)}
.profile-card-front::after{content:"";position:absolute;z-index:1;inset:-35%;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.17) 50%,transparent 58%);transform:translateX(-72%);transition:transform .85s var(--ease);pointer-events:none}
.profile-card-front>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.profile-card-cue{position:absolute;z-index:3;top:20px;right:20px;display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 14px 8px 10px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(11,8,24,.74);box-shadow:0 12px 28px rgba(11,8,24,.24);color:#fff;font-family:var(--mono);font-size:8px;line-height:1.2;letter-spacing:.06em;text-transform:uppercase;opacity:0;transform:translateY(-8px) scale(.96);transition:opacity .3s ease,transform .45s var(--ease);pointer-events:none}
.profile-card-cue svg{width:24px;height:24px;padding:4px;border:1px solid rgba(182,154,240,.7);border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .6s var(--ease)}
.profile-card-front:focus-visible .profile-card-cue{opacity:1;transform:translateY(0) scale(1)}
.profile-card-front:focus-visible::after{transform:translateX(72%)}
.profile-card-front:focus-visible>img{transform:scale(1.018)}

.profile-card-back{display:flex;flex-direction:column;padding:clamp(20px,1.8vw,28px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;color:var(--text);background:radial-gradient(circle at 100% 0,rgba(106,41,210,.1),transparent 42%),var(--paper);border-color:var(--line);transform:rotateY(180deg)}
.profile-card-back::before{content:"";position:absolute;right:-19%;top:-28%;width:72%;aspect-ratio:1;border:1px solid rgba(106,41,210,.16);border-radius:50%;pointer-events:none}
.profile-card-back__top{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.profile-card-back__logo{color:var(--text);font-size:clamp(28px,2.7vw,38px)}
.profile-card-back-toggle{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:66px;padding:0;border:0;background:transparent;color:var(--violet);font-family:var(--mono);font-size:7px;line-height:1.2;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.profile-card-back-toggle svg{width:34px;height:34px;padding:7px;border:1px solid var(--violet);border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .45s var(--ease),background .3s ease}
.profile-card-back-toggle:hover svg{transform:rotate(-18deg);background:var(--lav-2)}
.profile-card-back__identity{position:relative;z-index:1;margin-top:clamp(10px,1.5vw,18px)}
.profile-card-back__identity>.mono{margin:0 0 7px;color:var(--violet);font-size:8px}
.profile-card-back__identity h2{margin:0;color:var(--text);font-size:clamp(30px,3vw,42px);font-weight:700;line-height:1;letter-spacing:-.035em}
.profile-card-back__identity>p:last-child{margin:6px 0 0;color:var(--body);font-size:clamp(17px,1.7vw,23px);font-weight:600}
.profile-contact-list{position:relative;z-index:1;display:grid;margin:clamp(9px,1.2vw,14px) 0 0;border-top:1px solid var(--line)}
.profile-contact-list>div{display:grid;grid-template-columns:minmax(116px,.72fr) minmax(0,1.28fr);align-items:center;gap:12px;padding:clamp(5px,.55vw,8px) 0;border-bottom:1px solid var(--line)}
.profile-contact-list dt{display:flex;align-items:center;gap:10px;color:var(--violet);font-family:var(--mono);font-size:7px;letter-spacing:.07em;text-transform:uppercase}
.profile-contact-list dt svg{flex:0 0 32px;width:32px;height:32px;padding:7px;border-radius:50%;background:var(--lav-2);fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.profile-contact-list dd{min-width:0;margin:0;color:var(--text);font-size:clamp(14px,1.3vw,18px);font-weight:500;overflow-wrap:anywhere}
.profile-contact-list a{color:var(--violet-deep);border-bottom:1px solid rgba(106,41,210,.42)}
.profile-contact-save{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:14px;align-items:center;margin-top:auto;padding-top:8px}
.profile-contact-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:min(100%,220px)}
.profile-contact-actions>.btn{width:100%;height:44px;min-width:0;padding-inline:16px;font-size:13px}
.profile-card-back .profile-contact-email{background:var(--violet);color:#fff;border:1.5px solid var(--violet)}
.profile-card-back .profile-contact-email::after{background:var(--violet-deep)}
.profile-card-back .profile-contact-vcard{background:var(--paper);color:var(--violet-deep);border:1.5px solid var(--violet)}
.profile-card-back .profile-contact-vcard::after{background:var(--lav-2)}
.profile-contact-save__qr{display:flex;flex-direction:column;align-items:center;gap:4px}
.profile-contact-save__qr>.mono{color:var(--violet);font-size:6px;line-height:1.35;text-align:center}
.profile-qr{width:128px;aspect-ratio:1;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;padding:4px;box-shadow:0 12px 28px -20px rgba(14,11,30,.42)}
.profile-qr img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
.profile-card-back a:focus-visible,.profile-card-back button:focus-visible{outline-color:var(--violet-deep)}
@media (hover:hover) and (pointer:fine){
  .profile-contact-card:not(.is-flipped):hover .profile-card-inner{transform:rotateY(-3deg) translateY(-2px)}
  .profile-card-front:hover::after{transform:translateX(72%)}
  .profile-card-front:hover>img{transform:scale(1.018)}
  .profile-card-front:hover .profile-card-cue{opacity:1;transform:translateY(0) scale(1)}
  .profile-card-front:hover .profile-card-cue svg{transform:rotate(18deg)}
}
@media (hover:none),(pointer:coarse){
  .profile-card-cue{top:14px;right:14px;min-height:36px;padding:6px 11px 6px 8px;opacity:.94;transform:none}
  .profile-card-cue svg{width:21px;height:21px}
}
.profile-scroll{position:absolute;z-index:2;left:50%;bottom:28px;translate:-50% 0;color:var(--on-dark-3);display:flex;flex-direction:column;align-items:center;gap:9px;font-size:9px}
.profile-scroll i{width:1px;height:32px;background:linear-gradient(var(--violet-lt),transparent);animation:profile-scroll-pulse 1.8s ease-in-out infinite}
@keyframes profile-scroll-pulse{0%,100%{transform:scaleY(.45);transform-origin:top;opacity:.45}50%{transform:scaleY(1);opacity:1}}

html.js .profile-hero-copy>*{opacity:0;transform:translateY(28px)}
html.js .profile-portrait{opacity:0;clip-path:inset(0 0 100% 0 round 38px);transform:translateY(32px) scale(.97)}
html.js.profile-ready .profile-hero-copy>*{animation:profile-rise .9s var(--ease) forwards}
html.js.profile-ready .profile-hero-copy>*:nth-child(1){animation-delay:.12s}
html.js.profile-ready .profile-hero-copy>*:nth-child(2){animation-delay:.2s}
html.js.profile-ready .profile-hero-copy>*:nth-child(3){animation-delay:.28s}
html.js.profile-ready .profile-hero-copy>*:nth-child(4){animation-delay:.36s}
html.js.profile-ready .profile-hero-copy>*:nth-child(5){animation-delay:.44s}
html.js.profile-ready .profile-portrait{animation:profile-portrait-in 1.15s .3s var(--ease) forwards}
@keyframes profile-rise{to{opacity:1;transform:translateY(0)}}
@keyframes profile-portrait-in{99%{opacity:1;clip-path:inset(0 0 0 0 round 38px);transform:translateY(0) scale(1)}to{opacity:1;clip-path:none;transform:translateY(0) scale(1)}}

.profile-section-heading{display:flex;flex-direction:column;gap:24px;max-width:860px}
.profile-section-heading .h{font-size:clamp(44px,5.8vw,84px);max-width:14ch}

.profile-connect{display:grid;gap:clamp(48px,5vw,66px);background:var(--paper)}
.profile-connect>.profile-section-heading{display:grid;grid-template-columns:minmax(0,.9fr) minmax(340px,.65fr);align-items:end;gap:clamp(36px,7vw,110px);max-width:none}
.profile-connect>.profile-section-heading .profile-tool-heading{gap:18px;max-width:none}
.profile-connect>.profile-section-heading .profile-tool-heading>.mono{color:var(--violet);font-size:11px}
.profile-connect>.profile-section-heading .h{max-width:11ch;font-size:clamp(50px,6.2vw,82px)}
.profile-connect>.profile-section-heading .p{max-width:52ch;font-size:19px}
.profile-tool-card{min-width:0}
.profile-tool-card--calendar{width:100%}
.profile-tool-heading{display:grid;gap:10px;max-width:720px}
.profile-tool-heading>.mono{color:var(--violet);font-size:9px}
.profile-tool-heading h3{margin:0;color:var(--text);font-size:clamp(28px,3vw,42px);line-height:1.12;letter-spacing:-.025em}
.profile-tool-heading>p:not(.mono){margin:0;color:var(--body);font-size:17px;line-height:1.55}
.profile-embed-placeholder{min-height:clamp(420px,54vw,650px);border:1px solid rgba(14,11,30,.1);border-radius:26px;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(26px,4vw,52px);background:#fff;color:var(--body)}
.profile-embed-placeholder>div{max-width:560px}
.profile-embed-placeholder strong{display:block;color:var(--text);font-size:clamp(28px,3.4vw,50px);line-height:1.15;letter-spacing:-.025em}
.profile-embed-placeholder p{font-size:18px;margin:14px 0 0}
.profile-placeholder-index{color:var(--violet)}
.profile-tool-card--calendar .profile-embed-placeholder{min-height:680px}
.profile-embed{min-width:0;background:#fff}
.profile-embed-shell{position:relative;width:100%;min-width:0;background:#fff}
.profile-embed-shell::after{content:"";position:absolute;z-index:1;inset:0;background:#fff;opacity:1;visibility:visible;pointer-events:none;transition:opacity 1.5s ease-in-out,visibility 0s linear 1.5s}
.profile-embed-frame{display:block;width:100%;max-width:100%;border:0;background:#fff}
.profile-embed--calendar .profile-embed-shell{overflow:hidden;border:1px solid rgba(14,11,30,.1);border-radius:26px}
.profile-embed--calendar .profile-embed-frame{height:680px}
.profile-embed--form .profile-embed-frame{height:1180px}
.profile-embed-loading{position:absolute;z-index:2;inset:0;display:grid;place-items:center;padding:24px;background:#fff;color:var(--violet);text-align:center;transition:opacity .2s ease,visibility .2s ease;pointer-events:none}
.profile-embed--calendar .profile-embed-loading{background:#fff}
.profile-embed-shell.is-loaded .profile-embed-loading{opacity:0;visibility:hidden}
.profile-tool-card.is-visible .profile-embed-shell.is-loaded::after{opacity:0;visibility:hidden}
.profile-embed-fallback{margin:14px 0 0;padding:0;background:transparent;color:var(--body);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.profile-embed-fallback a{color:var(--violet);font-weight:600;border-bottom:1px solid rgba(106,41,210,.4)}

.profile-message{position:relative}
.profile-message-layout{display:grid;grid-template-columns:minmax(340px,.82fr) minmax(560px,1.18fr);align-items:stretch}
.profile-message-copy{align-content:start;max-width:none;padding:clamp(82px,9vw,132px) clamp(36px,5vw,76px) clamp(82px,9vw,132px) var(--gutter);background:var(--ink)}
.profile-message-copy>.mono{color:var(--violet-lt);font-size:11px}
.profile-message-copy h2{max-width:9ch;margin:0;color:#fff;font-size:clamp(48px,5.3vw,72px);font-weight:600;line-height:1.04;letter-spacing:-.032em}
.profile-message-copy>p:not(.mono){max-width:34ch;margin-top:18px;color:var(--on-dark-2);font-size:18px}
.profile-message-panel{min-width:0;padding:clamp(24px,2.5vw,40px) var(--gutter) clamp(48px,5vw,72px) clamp(36px,5vw,76px);background:#fff;color:var(--text)}
.profile-message-panel .profile-embed-placeholder{min-height:760px;border:0;border-radius:0;padding:0;background:#fff}
.profile-message-panel .profile-embed-placeholder strong{font-size:clamp(28px,3vw,42px)}
.profile-message-panel .profile-embed-fallback{color:var(--body)}
#schedule,#quote-request{scroll-margin-top:74px}

.profile-back{display:flex;align-items:flex-end;justify-content:space-between;gap:42px}
.profile-back>div{display:flex;flex-direction:column;gap:22px}
.profile-back .h{font-size:clamp(42px,5.5vw,78px);max-width:14ch}
.profile-footer{position:relative;overflow:hidden}
.profile-footer .top{position:relative}
.profile-footer .dm-foot .s{stroke-dashoffset:0}
.profile-noscript{position:fixed;left:20px;right:20px;bottom:20px;z-index:100;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;color:var(--text);text-align:center}

.pr-reveal{opacity:1;transform:none}
html.js .pr-reveal{opacity:0;transform:translateY(34px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
html.js .pr-reveal.is-visible{opacity:1;transform:translateY(0)}
html.js .profile-tool-card.pr-reveal{opacity:1;transform:none;transition:none}

@media (min-width:961px){
  .profile-message-copy{padding-top:clamp(32px,calc(9vw - 56px),76px)}
}
@media (max-width:1120px){
  .profile-page #nav ul{gap:20px}
  .profile-page #nav li a{font-size:14px}
  .profile-page #nav .cta{display:none}
}
@media (max-width:960px){
  .profile-hero{grid-template-columns:1fr;align-content:center;gap:44px;padding-top:130px;padding-bottom:110px}
  .profile-hero-copy{max-width:680px}
  .profile-hero-copy .h{max-width:10ch}
  .profile-portrait{justify-self:start;width:min(72vw,520px)}
  .profile-hero-mark{right:-22vw;bottom:-8vh;height:68vh;opacity:.18}
  .profile-scroll{display:none}
  .profile-connect>.profile-section-heading,.profile-message-layout{grid-template-columns:1fr}
  .profile-connect>.profile-section-heading{align-items:start;gap:28px}
  .profile-message-copy h2{max-width:12ch}
  .profile-message-copy>p:not(.mono){max-width:52ch}
}
@media (max-width:720px){
  .profile-page #nav ul{display:none}
  .profile-page #nav .burger{display:flex}
  .profile-hero{min-height:auto;gap:18px;padding-top:104px;padding-bottom:36px}
  .profile-pipes{display:none}
  .profile-hero-copy{gap:8px;width:100%}
  .profile-hero-copy .h{max-width:none;font-size:clamp(36px,10.5vw,48px)}
  .profile-title{font-size:19px}
  .profile-actions{width:100%;flex-direction:row;flex-wrap:nowrap;gap:10px}
  .profile-actions .btn{flex:1;min-width:0;height:48px;padding-inline:10px;font-size:14px;gap:6px}
  .profile-contact-toggle i{flex-basis:18px;width:18px;height:18px}
  .profile-portrait{justify-self:center;width:min(100%,max(220px,calc(100svh - 350px)));border-radius:26px}
  .profile-bio-toggle:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:10px 0;border:0;border-bottom:1px solid rgba(182,154,240,.4);background:transparent;color:var(--violet-lt);font-size:18px;font-weight:500;text-align:left;cursor:pointer}
  .profile-bio-toggle i{position:relative;flex:0 0 24px;height:24px;border:1px solid rgba(182,154,240,.5);border-radius:50%}
  .profile-bio-toggle i::before,.profile-bio-toggle i::after{content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;background:currentColor;transform:translate(-50%,-50%)}
  .profile-bio-toggle i::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .36s cubic-bezier(.22,.74,.2,1)}
  .profile-bio-toggle[aria-expanded="true"] i::after{transform:translate(-50%,-50%)}
  .profile-biography .profile-hero-summary{padding-top:18px;gap:16px}
  .profile-biography .profile-hero-summary[data-bio-animating]{overflow:hidden;min-height:0}
  .profile-biography .profile-lead,.profile-biography .p{font-size:17px;line-height:1.55;letter-spacing:normal;color:var(--on-dark-2)}
  html.js .profile-portrait{clip-path:inset(0 0 100% 0 round 26px)}
  .profile-card-face{border-radius:26px}
  .profile-connect>.profile-section-heading .h{font-size:48px}
  .profile-message-copy{padding:80px var(--gutter)}
  .profile-message-panel{padding:32px var(--gutter) 80px}
  .profile-embed-placeholder{min-height:420px;border-radius:20px}
  .profile-tool-card--calendar .profile-embed-placeholder{min-height:780px}
  .profile-embed--calendar .profile-embed-shell{border-radius:20px}
  .profile-embed--calendar .profile-embed-frame{height:780px}
  .profile-embed--form .profile-embed-frame{height:1240px}
  .profile-message-panel .profile-embed-placeholder{min-height:720px}
  .profile-back{align-items:flex-start;flex-direction:column}
  .profile-back .btn{width:100%}
}
@container profile-card (max-width:520px){
  .profile-card-back{padding:14px}
  .profile-card-back__logo{font-size:25px}
  .profile-card-back-toggle{min-width:58px;gap:3px;font-size:6px}
  .profile-card-back-toggle svg{width:27px;height:27px;padding:5px}
  .profile-card-back__identity{margin-top:7px}
  .profile-card-back__identity>.mono{margin-bottom:4px;font-size:6px}
  .profile-card-back__identity h2{font-size:24px}
  .profile-card-back__identity>p:last-child{margin-top:3px;font-size:15px}
  .profile-contact-list{margin-top:7px}
  .profile-contact-list>div{grid-template-columns:92px minmax(0,1fr);gap:7px;padding:7px 0}
  .profile-contact-list dt{gap:6px;font-size:6px}
  .profile-contact-list dt svg{flex-basis:27px;width:27px;height:27px;padding:6px}
  .profile-contact-list dd{font-size:12px}
  .profile-contact-save{grid-template-columns:minmax(0,1fr) 116px;gap:8px;padding-top:6px}
  .profile-contact-actions{gap:6px}
  .profile-contact-actions>.btn{width:min(100%,190px);height:38px;padding-inline:10px;font-size:11px}
  .profile-contact-save__qr{gap:3px}
  .profile-contact-save__qr>.mono{font-size:5px}
  .profile-qr{width:116px;padding:3px;border-radius:6px}
  .profile-card-cue{top:11px;right:11px;min-height:32px;padding:5px 9px 5px 7px;font-size:6px}
  .profile-card-cue svg{width:19px;height:19px;padding:3px}
}
@container profile-card (max-width:400px){
  .profile-card-back{padding:10px}
  .profile-card-back__logo{font-size:20px}
  .profile-card-back-toggle{min-width:24px}
  .profile-card-back-toggle span{display:none}
  .profile-card-back-toggle svg{width:24px;height:24px;padding:5px}
  .profile-card-back__identity{margin-top:3px}
  .profile-card-back__identity>.mono{display:none}
  .profile-card-back__identity h2{font-size:20px}
  .profile-card-back__identity>p:last-child{margin-top:2px;font-size:12px}
  .profile-contact-list{margin-top:4px}
  .profile-contact-list>div{grid-template-columns:70px minmax(0,1fr);gap:4px;padding:2px 0}
  .profile-contact-list dt{gap:4px;font-size:5px}
  .profile-contact-list dt svg{flex-basis:20px;width:20px;height:20px;padding:4px}
  .profile-contact-list dd{font-size:9px;line-height:1.2}
  .profile-contact-save{grid-template-columns:minmax(0,1fr) 104px;gap:6px;padding-top:4px}
  .profile-contact-actions{gap:5px}
  .profile-contact-actions>.btn{width:100%;height:32px;padding-inline:8px;font-size:9px}
  .profile-contact-save__qr{gap:2px}
  .profile-contact-save__qr>.mono{display:none}
  .profile-qr{width:104px;padding:2px;border-radius:4px}
}
@media (max-width:359px){
  .profile-embed--form .profile-embed-frame{height:1320px}
}
@media (prefers-reduced-motion:reduce){
  .profile-bio-toggle i::after{transition:none!important}
  .profile-hero-mark .s,.profile-scroll i,.profile-hero-copy>*,.profile-portrait{animation:none!important}
  html.js .profile-hero-copy>*{opacity:1!important;transform:none!important}
  html.js .profile-portrait{opacity:1!important;clip-path:none!important;transform:none!important}
  .profile-card-inner,.profile-contact-card.is-flipped .profile-card-inner{transform:none!important;transition:none!important}
  .profile-card-face{transform:none!important;transition:none!important}
  .profile-card-front>img,.profile-card-front::after,.profile-card-cue,.profile-card-cue svg,.profile-card-back-toggle svg{transition:none!important}
  .profile-card-back{opacity:0;visibility:hidden}
  .profile-contact-card.is-flipped .profile-card-front{opacity:0;visibility:hidden}
  .profile-contact-card.is-flipped .profile-card-back{opacity:1;visibility:visible}
  html.js .pr-reveal{opacity:1!important;transform:none!important;transition:none!important}
  .profile-embed-shell::after{transition:none!important}
  .profile-scroll i{transform:none!important;opacity:1!important}
  .profile-hero-mark .s{stroke-dashoffset:0!important}
}
