@charset "UTF-8";
/* ==========================================================================
   Kayan Al Rooh — digital business card  ·  dark only
   Shared stylesheet for /yazan/ and /adnan/
   Brand colours: --wine / --charcoal (sampled from the logo)
   ========================================================================== */

/* ---------- fonts --------------------------------------------------------- */
@font-face{font-family:"Cormorant";src:url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:"Cormorant";src:url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2122}
@font-face{font-family:"Cormorant";src:url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2122}
@font-face{font-family:"Cormorant";src:url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2122}
@font-face{font-family:"Messiri";src:url(../fonts/el-messiri-arabic-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:"Messiri";src:url(../fonts/el-messiri-arabic-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:"Plex";src:url(../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:"Plex";src:url(../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:"Plex";src:url(../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2122}
@font-face{font-family:"Plex";src:url(../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2122}

/* ---------- tokens -------------------------------------------------------- */
:root{
  --wine:#761521;
  --charcoal:#343233;
  --wine-lift:#97202E;
  --paper:#F4EEEA;

  --bg:#080607;
  --bg-mid:#0D0709;
  --bg-low:#150809;

  --ink:#F2ECE8;
  --ink-2:rgba(242,236,232,.74);
  --ink-3:rgba(242,236,232,.56);
  --line:rgba(242,236,232,.17);
  --glass:rgba(242,236,232,.055);

  --ease:cubic-bezier(.22,1,.36,1);
  --pad:22px;
  --logo:url(../brand/logo.svg);
  --drop:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c4 5.4 6.8 9.5 6.8 13.2a6.8 6.8 0 0 1-13.6 0C5.2 11.7 8 7.6 12 2.2z'/%3E%3C/svg%3E");
}

/* ---------- base ---------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;min-height:100%}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"Plex","Segoe UI",system-ui,sans-serif;
  font-size:16px;line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
/* the scene: burgundy rising from the bottom into black */
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(135% 62% at 50% 112%,rgba(118,21,33,.66) 0%,rgba(104,19,30,.42) 30%,rgba(66,13,20,.22) 56%,rgba(0,0,0,0) 82%),
    linear-gradient(to top,var(--bg-low) 0%,var(--bg-mid) 42%,var(--bg) 74%);
}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
img{display:block}
:focus-visible{outline:2px solid var(--wine-lift);outline-offset:3px;border-radius:10px}

.mist{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}
.mist--back{z-index:1}
.mist--front{z-index:3}

/* ---------- layout -------------------------------------------------------- */
.card{
  position:relative;z-index:2;
  min-height:100vh;min-height:100svh;min-height:100dvh;
  width:100%;max-width:480px;margin-inline:auto;
  display:flex;flex-direction:column;align-items:center;
  padding:0 var(--pad) calc(env(safe-area-inset-bottom) + 16px);
}
.panel{display:contents}

/* hero portrait ------------------------------------------------------------ */
.hero{
  position:relative;z-index:2;
  width:calc(100% + var(--pad) * 2);
  margin:0 calc(var(--pad) * -1);
  flex:1 1 0;min-height:170px;max-height:62svh;max-height:62dvh;
  overflow:hidden;
}
.hero img{
  width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 6%);
}
.hero::after{                       /* a whisper of shade under the logo */
  content:"";position:absolute;inset:0 0 auto;height:34%;z-index:1;pointer-events:none;
  background:linear-gradient(to bottom,rgba(8,6,7,.62),rgba(8,6,7,0));
}
/* the melt: the portrait dissolves into the page.
   painted as a real gradient over the photo — never a mask, so it renders
   identically on every engine (Safari/WebKit drops gradient masks on
   composited layers, which left a hard cut at the bottom). */
.hero::before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(to bottom,
      rgba(9,6,7,0) 42%,
      rgba(9,6,7,.20) 60%,
      rgba(9,6,7,.46) 74%,
      rgba(9,6,7,.78) 86%,
      rgba(9,6,7,.95) 94%,
      rgb(9,6,7) 99.5%),
    linear-gradient(to right,
      rgba(9,6,7,.92) 0,rgba(9,6,7,0) 10%,rgba(9,6,7,0) 90%,rgba(9,6,7,.92) 100%);
}

/* top bar: logo + tools ---------------------------------------------------- */
.topbar{
  position:fixed;z-index:20;
  top:calc(env(safe-area-inset-top) + 12px);
  left:calc(env(safe-area-inset-left) + 16px);
  right:calc(env(safe-area-inset-right) + 16px);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  pointer-events:none;
}
.topbar > *{pointer-events:auto}
.logo{width:108px;height:81px;background:var(--logo) center/contain no-repeat;flex:none}
.tools{display:flex;align-items:center;gap:8px}
.tool{
  height:46px;min-width:46px;padding:0 16px;
  display:flex;align-items:center;justify-content:center;
  border-radius:23px;border:1px solid var(--line);
  background:rgba(12,8,9,.55);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  color:var(--ink-2);font-size:12.5px;font-weight:500;letter-spacing:.06em;
  transition:color .3s var(--ease),border-color .3s var(--ease);
}
.tool--icon{width:46px;padding:0}
.tool svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.tool:hover{color:var(--ink);border-color:rgba(242,236,232,.3)}}

/* identity ----------------------------------------------------------------- */
.identity{position:relative;z-index:4;text-align:center;width:100%;margin-top:-18px}
.name{margin:0;font-family:"Messiri","Plex",serif;font-weight:600;font-size:clamp(28px,8.2vw,38px);line-height:1.18}
[data-lang="en"] .name{font-family:"Cormorant",Georgia,serif;font-weight:500;font-size:clamp(32px,9.2vw,44px);letter-spacing:.015em}
.title{
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin:8px 0 0;font-size:13px;font-weight:500;color:var(--ink-2);
}
.title::before,.title::after{content:"";width:20px;height:1px;background:var(--line)}
[data-lang="en"] .title{font-family:"Cormorant",Georgia,serif;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.24em;padding-inline-start:.24em}
.tagline{margin:9px auto 0;max-width:23em;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
[data-lang="en"] .tagline{font-family:"Cormorant",Georgia,serif;font-style:italic;font-size:17px;line-height:1.4}

/* actions ------------------------------------------------------------------ */
.actions{position:relative;z-index:4;width:100%;margin-top:18px}
.save{
  position:relative;display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;height:56px;border-radius:15px;overflow:hidden;isolation:isolate;
  background:var(--ink);color:#141011;
  font-size:15px;font-weight:500;
  box-shadow:0 14px 34px -20px rgba(0,0,0,.95);
  transition:transform .3s var(--ease);
}
[data-lang="en"] .save{font-family:"Cormorant",Georgia,serif;font-size:17px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.save:active{transform:scale(.985)}
.save__content{position:relative;z-index:3;display:flex;align-items:center;gap:10px;transition:opacity .3s var(--ease),color .4s var(--ease)}
.save__content svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.save__liquid{position:absolute;inset:0;z-index:1;transform:translateY(102%);overflow:hidden}
.save__liquid::after{content:"";position:absolute;inset:0;background:var(--wine)}
.save__wave{position:absolute;left:50%;top:-30px;width:190%;aspect-ratio:1;transform:translateX(-50%);background:var(--wine);border-radius:43% 46% 44% 47%}
.save__sheen{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(104deg,rgba(255,255,255,0) 38%,rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 62%);
  transform:translateX(-130%);
}
body.ready .save__sheen{animation:sheen 7s var(--ease) 2.4s infinite}
@keyframes sheen{0%{transform:translateX(-130%)}22%{transform:translateX(130%)}100%{transform:translateX(130%)}}
.save__check{
  position:absolute;z-index:3;inset:0;margin:auto;width:26px;height:26px;
  fill:none;stroke:var(--paper);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:1;stroke-dashoffset:1;opacity:0;
}
.save.is-filling .save__liquid{transform:translateY(0);transition:transform .95s var(--ease)}
.save.is-filling .save__wave{animation:swirl 3.2s linear infinite}
.save.is-filling .save__content{color:var(--paper);transition-delay:.25s}
.save.is-done .save__content{opacity:0;transition-duration:.25s}
.save.is-done .save__check{opacity:1;animation:draw .5s var(--ease) forwards}
@keyframes swirl{to{transform:translateX(-50%) rotate(360deg)}}
@keyframes draw{to{stroke-dashoffset:0}}

.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}
.qa{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  height:72px;border-radius:15px;overflow:hidden;
  border:1px solid var(--line);background:var(--glass);
  transition:border-color .35s var(--ease),transform .3s var(--ease);
}
.qa:active{transform:scale(.97)}
@media (hover:hover){.qa:hover{border-color:rgba(151,32,46,.75)}}
.qa svg{width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.qa span{font-size:11px;font-weight:500;color:var(--ink-3)}
[data-lang="en"] .qa span{letter-spacing:.14em;text-transform:uppercase;font-size:10px}
.qa__glow{
  position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .35s var(--ease);
  background:radial-gradient(120px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.16),rgba(255,255,255,0) 62%);
}
@media (hover:hover){.qa:hover .qa__glow{opacity:1}}
.ripple{
  position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;pointer-events:none;
  border-radius:50%;border:1px solid rgba(151,32,46,.9);
  animation:ripple .8s var(--ease) forwards;
}
.ripple.drop{border:0;background:var(--wine-lift);-webkit-mask:var(--drop) center/contain no-repeat;mask:var(--drop) center/contain no-repeat;animation:dropfade .7s var(--ease) forwards}
@keyframes ripple{from{transform:scale(.3);opacity:.7}to{transform:scale(9);opacity:0}}
@keyframes dropfade{from{transform:scale(.4);opacity:.9}to{transform:scale(2.6);opacity:0}}

.profile{
  display:flex;align-items:center;justify-content:center;gap:10px;
  height:50px;margin-top:10px;border-radius:14px;
  border:1px solid var(--line);background:var(--glass);color:var(--ink-2);
  font-size:13.5px;font-weight:500;
  transition:color .3s var(--ease),border-color .3s var(--ease);
}
[data-lang="en"] .profile{font-family:"Cormorant",Georgia,serif;font-size:15px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.profile svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.profile:hover{color:var(--ink);border-color:rgba(151,32,46,.75)}}

.caps{display:flex;align-items:center;justify-content:center;gap:9px;margin:15px 0 0;font-size:12px;color:var(--ink-3)}
[data-lang="en"] .caps{font-family:"Cormorant",Georgia,serif;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
.caps span{opacity:0}
.caps i{width:6px;height:8px;flex:none;opacity:0;background:var(--wine-lift);-webkit-mask:var(--drop) center/contain no-repeat;mask:var(--drop) center/contain no-repeat}
body.ready .caps span,body.ready .caps i{animation:settle .8s var(--ease) forwards}
body.ready .caps span:nth-child(1){animation-delay:.5s}
body.ready .caps i:nth-child(2){animation-delay:.62s}
body.ready .caps span:nth-child(3){animation-delay:.74s}
body.ready .caps i:nth-child(4){animation-delay:.86s}
body.ready .caps span:nth-child(5){animation-delay:.98s}

.footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:6px}
.explore{
  position:relative;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  min-height:46px;padding-inline:2px;font-size:13px;color:var(--ink-2);
  transition:color .35s var(--ease);
}
[data-lang="en"] .explore{font-family:"Cormorant",Georgia,serif;font-size:12.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.explore svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
[dir="rtl"] .explore svg{transform:scaleX(-1)}
.explore::after{content:"";position:absolute;inset-inline:2px;bottom:11px;height:1px;background:currentColor;opacity:.3}
@media (hover:hover){.explore:hover{color:var(--ink)}}
.social{display:flex;align-items:center;gap:2px}
.sx{
  width:48px;height:48px;display:grid;place-items:center;border-radius:13px;
  color:var(--ink-3);transition:color .35s var(--ease),background-color .35s var(--ease);
}
.sx svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.sx:hover{color:var(--ink);background:var(--glass)}}

/* QR + share sheet --------------------------------------------------------- */
.sheet[hidden]{display:none!important}
.sheet{position:fixed;inset:0;z-index:40;color:var(--ink)}
.sheet__bg{position:absolute;inset:0;background:rgba(8,6,7,.93);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.qr__in{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center;animation:rise .5s var(--ease) both;pointer-events:none}
.qr__in > *{pointer-events:auto}
.qr__card{background:#F6F1EA;border-radius:22px;padding:16px;width:min(70vw,272px);box-shadow:0 30px 70px -40px #000}
.qr__card svg{width:100%;height:auto;display:block}
.qr__name{font-family:"Messiri","Plex",serif;font-weight:600;font-size:20px;margin:0}
[data-lang="en"] .qr__name{font-family:"Cormorant",Georgia,serif}
.qr__url{margin:6px 0 0;font-size:12px;letter-spacing:.04em;color:var(--ink-3);direction:ltr}
.qr__hint{margin:0;font-size:12.5px;color:var(--ink-3)}
.qr__share{
  height:50px;padding:0 24px;border-radius:25px;background:var(--ink);color:#141011;
  display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;
}
[data-lang="en"] .qr__share{font-family:"Cormorant",Georgia,serif;font-size:16px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.qr__share svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.qr__close{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);color:var(--ink-2)}
.qr__close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}

/* toast -------------------------------------------------------------------- */
.toast{
  position:fixed;z-index:30;left:50%;bottom:calc(env(safe-area-inset-bottom) + 24px);
  transform:translate(-50%,14px);opacity:0;pointer-events:none;
  display:flex;align-items:center;gap:9px;padding:11px 17px;border-radius:30px;font-size:12.5px;
  border:1px solid var(--line);color:var(--ink);background:rgba(12,8,9,.86);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transition:opacity .4s var(--ease),transform .4s var(--ease);
}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast i{width:7px;height:9px;flex:none;background:var(--wine-lift);-webkit-mask:var(--drop) center/contain no-repeat;mask:var(--drop) center/contain no-repeat}

/* intro -------------------------------------------------------------------- */
.intro{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:var(--bg)}
.intro__drop{
  position:absolute;width:13px;height:17px;background:var(--wine-lift);
  -webkit-mask:var(--drop) center/contain no-repeat;mask:var(--drop) center/contain no-repeat;
  animation:fall .62s cubic-bezier(.55,.1,.75,.5) forwards;
}
.intro__logo{
  width:130px;height:98px;background:var(--logo) center/contain no-repeat;
  opacity:0;filter:blur(10px);transform:scale(.96);
  animation:resolve .62s var(--ease) .56s forwards;
}
.intro__ring{position:absolute;width:16px;height:16px;border-radius:50%;border:1px solid var(--wine-lift);opacity:0;animation:ring .9s var(--ease) .56s forwards}
.intro.out{animation:fadeout .42s var(--ease) forwards;pointer-events:none}
@keyframes fall{from{transform:translateY(-42vh) scaleY(1.5);opacity:0}30%{opacity:1}to{transform:translateY(0) scaleY(1);opacity:1}}
@keyframes resolve{to{opacity:1;filter:blur(0);transform:scale(1)}}
@keyframes ring{from{transform:scale(.4);opacity:.8}to{transform:scale(9);opacity:0}}
@keyframes fadeout{to{opacity:0;visibility:hidden}}

/* entrances ---------------------------------------------------------------- */
@keyframes settle{from{opacity:0;transform:translateY(9px);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes rise{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes condense{from{opacity:0;filter:blur(13px);letter-spacing:.34em}to{opacity:1;filter:blur(0);letter-spacing:.015em}}
@keyframes condenseAr{from{opacity:0;filter:blur(13px);transform:scale(1.07)}to{opacity:1;filter:blur(0);transform:scale(1)}}
@keyframes emerge{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:scale(1)}}
.topbar,.hero,.identity .name,.identity .title,.identity .tagline,.save,.quick,.profile,.footer{opacity:0}
body.ready .topbar{animation:settle .7s var(--ease) both}
body.ready .hero{animation:emerge 1.25s var(--ease) both}
body.ready .name{animation:condenseAr .95s var(--ease) .18s both}
body.ready[data-lang="en"] .name{animation-name:condense}
body.ready .title{animation:settle .8s var(--ease) .34s both}
body.ready .tagline{animation:settle .8s var(--ease) .46s both}
body.ready .save{animation:settle .8s var(--ease) .58s both}
body.ready .quick{animation:settle .8s var(--ease) .68s both}
body.ready .profile{animation:settle .8s var(--ease) .76s both}
body.ready .footer{animation:settle .8s var(--ease) .84s both}
.swapping .identity,.swapping .actions{opacity:0;transition:opacity .2s var(--ease)}
.identity,.actions{transition:opacity .34s var(--ease)}

/* ---------- desktop ------------------------------------------------------- */
@media (min-width:900px) and (min-height:540px){
  .card{
    max-width:none;padding:0;height:100vh;height:100svh;height:100dvh;
    display:grid;grid-template-columns:minmax(320px,47%) 1fr;align-items:stretch;
  }
  .panel{
    display:flex;flex-direction:column;justify-content:center;
    padding:0 clamp(28px,5vw,72px);max-width:640px;
  }
  .hero{width:100%;margin:0;max-height:none;min-height:0;height:100%}
  .hero img{object-position:var(--pos-d,50% 8%)}
  .hero::after{display:none}
  .hero::before{                    /* same melt, sideways + along the floor */
    background:
      linear-gradient(to right,
        rgba(9,6,7,0) 44%,rgba(9,6,7,.30) 64%,rgba(9,6,7,.72) 82%,rgb(9,6,7) 98%),
      linear-gradient(to bottom,
        rgba(9,6,7,0) 62%,rgba(9,6,7,.34) 80%,rgba(9,6,7,.82) 93%,rgb(9,6,7) 100%);
  }
  [dir="rtl"] .hero::before{
    background:
      linear-gradient(to left,
        rgba(9,6,7,0) 44%,rgba(9,6,7,.30) 64%,rgba(9,6,7,.72) 82%,rgb(9,6,7) 98%),
      linear-gradient(to bottom,
        rgba(9,6,7,0) 62%,rgba(9,6,7,.34) 80%,rgba(9,6,7,.82) 93%,rgb(9,6,7) 100%);
  }
  .logo{width:124px;height:93px}
  .identity{text-align:start;margin-top:0}
  .profile{max-width:430px}
  .name{font-size:clamp(40px,3.6vw,54px)}
  [data-lang="en"] .name{font-size:clamp(44px,4vw,60px)}
  .title{justify-content:flex-start;margin-top:12px}
  .title::before{display:none}
  .tagline{margin-inline:0;font-size:15px}
  [data-lang="en"] .tagline{font-size:19px}
  [data-lang="en"] .explore{font-size:14px;letter-spacing:.1em}
  [data-lang="en"] .caps{font-size:12.5px;letter-spacing:.18em}
  .actions{margin-top:28px;max-width:430px}
  .caps{justify-content:flex-start}
  .footer{justify-content:flex-start;gap:14px;margin-top:10px}
}
@media (min-width:1500px){.panel{max-width:760px}.actions{max-width:470px}}

/* short phones ------------------------------------------------------------- */
@media (max-height:760px) and (max-width:899px){
  .logo{width:86px;height:65px}
  .hero{min-height:150px;max-height:54svh;max-height:54dvh}
  .name{font-size:clamp(26px,7.4vw,32px)}
  .identity .tagline{margin-top:6px;font-size:13px}
  .actions{margin-top:12px}
  .save{height:52px}
  .quick{margin-top:10px}
  .qa{height:64px}
  .profile{height:46px;margin-top:8px}
  .caps{margin-top:11px}
  .footer{margin-top:2px}
}
@media (max-height:660px) and (max-width:899px){
  .logo{width:76px;height:57px}
  .hero{min-height:120px;max-height:46svh;max-height:46dvh}
  .identity{margin-top:-14px}
  .name{font-size:26px}
  .title{margin-top:5px;font-size:12px}
  .identity .tagline{margin-top:5px;font-size:12.5px;line-height:1.45}
  .actions{margin-top:10px}
  .save{height:48px;font-size:14px}
  [data-lang="en"] .save{font-size:15.5px}
  .quick{margin-top:8px;gap:8px}
  .qa{height:58px;gap:5px}
  .qa svg{width:20px;height:20px}
  .profile{height:44px;margin-top:8px;font-size:12.5px}
  .caps{margin-top:9px;font-size:11px}
  .footer{margin-top:0}
  .explore{min-height:42px}
  .sx{width:44px;height:44px}
}

/* reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001s!important;animation-delay:0s!important;transition-duration:.001s!important}
  .topbar,.hero,.identity .name,.identity .title,.identity .tagline,.save,.quick,.profile,.footer,.caps span,.caps i{opacity:1}
}
