@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root{--bg:#000;--panel:#090d13;--blue:#2782ff;--blue2:#65adff;--white:#f4f7fb;--muted:#9aa5b5;--line:rgba(110,155,220,.16);--font:'Vazirmatn',Tahoma,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:var(--bg);color:var(--white);font-family:var(--font);overflow-x:hidden}body,main,section,header,footer,div{min-width:0}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button{font-family:inherit}.ambient,.grid-noise{display:none!important}
.topbar{width:min(1120px,calc(100% - 48px));height:82px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07);gap:14px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;letter-spacing:1.6px;direction:ltr;white-space:nowrap}.brand img{width:38px;height:38px}.blue{color:var(--blue2)}.topbar-right{display:flex;align-items:center;gap:16px}.top-note{font:600 9px Arial,sans-serif;color:#7e8da3;letter-spacing:1.8px;direction:ltr;display:flex;align-items:center;gap:8px;white-space:nowrap}.top-note i{width:6px;height:6px;background:var(--blue);border-radius:50%;box-shadow:0 0 12px var(--blue)}.header-language{font:700 11px Arial,sans-serif;color:white;background:#060606;border:1px solid rgba(75,150,255,.5);border-radius:9px;padding:8px 12px;cursor:pointer}.header-language:hover{background:#1675ed}
.section{width:min(1100px,calc(100% - 48px));margin-inline:auto;padding:88px 0}.hero{min-height:calc(100svh - 82px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);align-items:center;gap:clamp(28px,5vw,65px);padding-top:48px;padding-bottom:75px}.hero-copy{position:relative;z-index:2}.eyebrow{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(39,130,255,.22);background:rgba(39,130,255,.07);border-radius:40px;padding:9px 14px;color:#c5d9f4;font-size:12px}.pulse{width:7px;height:7px;background:var(--blue);border-radius:50%;box-shadow:0 0 12px var(--blue)}.intro-en{font-size:10px;letter-spacing:3.5px;color:#8491a4;margin:28px 0 10px;direction:ltr;text-align:right}.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.35;margin:0;font-weight:800;letter-spacing:-1px}.hero h1 span{display:block;color:var(--blue2)}.hero h2{font-size:clamp(16px,2vw,19px);font-weight:500;color:#d7e1ed;margin:15px 0}.hero h2 b{color:var(--blue);padding-inline:6px}.hero-desc{max-width:56ch;color:#9ca8b9;line-height:2.05;font-size:14px;margin:18px 0 25px}.actions{display:flex;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;gap:14px;padding:12px 17px;border-radius:11px;font-size:12px;transition:.2s}.btn-blue{background:var(--blue);color:#fff;box-shadow:0 8px 25px rgba(39,130,255,.18)}.btn-blue:hover{background:#4695ff;transform:translateY(-2px)}.btn-ghost{border:1px solid rgba(255,255,255,.12);color:#e5ebf4}.btn-ghost:hover{border-color:var(--blue);color:var(--blue2)}.quick-facts{display:flex;align-items:center;gap:20px;margin-top:34px}.quick-facts div{display:flex;flex-direction:column;gap:3px}.quick-facts strong{font-size:19px;direction:ltr;text-align:right}.quick-facts small{font-size:10px;color:#8490a0}.fact-sep{width:1px;height:30px;background:rgba(255,255,255,.13)}
.hero-visual{position:relative;width:min(440px,100%);aspect-ratio:3/4;isolation:isolate;margin-inline:auto}.photo-halo{position:absolute;inset:-9% -14%;border-radius:50%;background:radial-gradient(ellipse,rgba(25,110,255,.24),transparent 68%);filter:blur(30px);z-index:-1;animation:halo 3.8s ease-in-out infinite}.photo-wrap{position:absolute;inset:0;overflow:hidden;border:1px solid rgba(90,160,255,.5);border-radius:30px 95px 30px 30px;background:#070b12;box-shadow:0 24px 70px rgba(0,0,0,.65),0 0 26px rgba(30,112,255,.1);animation:edge 3.8s ease-in-out infinite}.photo-wrap:before{content:'';position:absolute;inset:10px;border:1px solid rgba(230,242,255,.18);border-radius:22px 72px 22px 22px;z-index:2;pointer-events:none}.photo-wrap:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 65%,rgba(0,4,12,.5));pointer-events:none}.photo-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 35%;}.photo-caption{position:absolute;bottom:22px;right:-20px;z-index:3;display:flex;gap:10px;align-items:center;padding:12px 15px;background:rgba(8,13,22,.95);border:1px solid rgba(99,163,255,.28);border-radius:12px;direction:ltr;box-shadow:0 12px 30px #0006}.caption-mark{font-size:21px;color:var(--blue2)}.photo-caption div{display:flex;flex-direction:column;gap:4px}.photo-caption b{font:700 9px Arial,sans-serif;letter-spacing:2px}.photo-caption small{font:10px Arial,sans-serif;color:#a2afc0}.photo-chip{position:absolute;top:-14px;left:-14px;z-index:4;width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#090f18;border:1px solid rgba(39,130,255,.55);font-size:20px;font-weight:800;box-shadow:0 8px 26px #0008;transform:rotate(-6deg)}.photo-chip span{color:var(--blue2)}.hero-visual:before{content:'MAMARZA / PERSONAL PROFILE';position:absolute;top:3%;right:-6%;font:600 8px Arial,sans-serif;letter-spacing:2px;color:#8abaff;z-index:5}.hero-visual:after{content:'';position:absolute;left:-7%;bottom:7%;width:48px;height:48px;border:1px solid rgba(76,149,255,.3);border-radius:50%;z-index:3}
.section-title{margin-bottom:26px}.section-title>small,.goal-panel>small{color:#7193bb;letter-spacing:1.8px;font-size:9px;direction:ltr;display:block;text-align:right}.section-title h2{font-size:clamp(26px,4vw,38px);margin:12px 0 0;font-weight:750}.section-title h2 span{color:var(--blue2)}.section-sub{color:var(--muted);font-size:12px;margin-top:10px}.about-panel{display:grid;grid-template-columns:58px 1fr;gap:22px;padding:30px;border:1px solid var(--line);border-radius:18px;background:var(--panel);position:relative;overflow:hidden}.panel-symbol{width:52px;height:52px;border-radius:14px;background:rgba(39,130,255,.12);border:1px solid rgba(39,130,255,.25);display:grid;place-items:center;color:var(--blue2);font-size:22px}.about-panel p{color:#b3bfce;line-height:2;margin:0 0 12px;font-size:13px}.about-panel p:last-child{margin-bottom:0}.interest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.interest-card{min-height:220px;padding:22px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:var(--panel);position:relative;transition:.25s}.interest-card:hover{transform:translateY(-4px);border-color:rgba(39,130,255,.4)}.card-index{position:absolute;left:20px;top:18px;font:10px Arial,sans-serif;color:#56667b}.interest-emoji{font-size:25px;margin-bottom:14px}.interest-card h3{font-size:18px;margin:0 0 8px}.interest-card p{font-size:12px;color:#9ba9bb;line-height:1.9;margin:0;max-width:240px}.interest-card>small{position:absolute;bottom:18px;right:22px;font:9px Arial,sans-serif;letter-spacing:1.8px;color:#5c7da5}.timeline{border:1px solid var(--line);border-radius:18px;background:#080b10;padding:28px 32px}.timeline-item{display:flex;gap:18px;position:relative;padding-bottom:28px}.timeline-item:last-child{padding-bottom:0}.timeline-item>i{flex:0 0 10px;height:10px;border:2px solid var(--blue);border-radius:50%;margin-top:7px;position:relative;z-index:1}.timeline-item div>small{font:9px Arial,sans-serif;letter-spacing:1.8px;color:#7094bf;display:block;text-align:right}.timeline-item h3{font-size:16px;margin:6px 0}.timeline-item p{font-size:12px;line-height:2;color:#9daaba;margin:0;max-width:680px}.goal-panel{position:relative;overflow:hidden;border:1px solid rgba(39,130,255,.2);border-radius:20px;padding:42px;background:#080808}.goal-panel h2{font-size:clamp(32px,5vw,52px);margin:18px 0 12px}.goal-panel h2 span{color:var(--blue2)}.goal-panel p{max-width:55ch;color:#a6b3c5;line-height:2;font-size:13px}.goal-watermark{position:absolute;left:20px;bottom:-45px;font-size:150px;font-weight:900;color:rgba(39,130,255,.035);pointer-events:none}.social-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.social-card{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#090d14;transition:.2s}.social-card:hover{transform:translateY(-3px);border-color:rgba(39,130,255,.4)}.social-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:rgba(39,130,255,.1);border:1px solid rgba(39,130,255,.2);color:var(--blue2);font:700 11px Arial,sans-serif}.social-card>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}.social-card b{font-size:12px;direction:ltr;text-align:right}.social-card small{font:10px Arial,sans-serif;color:#8796a9;direction:ltr;text-align:right}.social-card em{font-style:normal;color:var(--blue2);margin-inline-start:auto;direction:ltr}.floating-dock{position:fixed;z-index:50;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 20px);direction:ltr}.floating-nav{position:static;transform:none;display:flex;align-items:center;gap:4px;padding:7px;background:rgba(10,14,22,.94);border:1px solid rgba(130,160,200,.16);border-radius:18px;backdrop-filter:blur(18px);box-shadow:0 16px 42px #0008;direction:rtl}.nav-item{min-width:58px;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 9px;border-radius:12px;color:#78879b;transition:.2s}.nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav-item>span:last-child{font-size:10px;white-space:nowrap}.nav-item:hover,.nav-item.active{background:rgba(39,130,255,.14);color:var(--blue2)}.nav-item.active{color:#f2f7ff}.language-toggle{flex:0 0 48px;width:48px;height:48px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:var(--blue);color:#fff;font:800 11px Arial,sans-serif;cursor:pointer;box-shadow:0 6px 20px rgba(0,105,255,.35)}.language-toggle:hover{background:#4695ff}.footer{text-align:center;padding:28px 20px 105px;color:#748195;font-size:10px}.footer p{margin:0 0 7px}.footer p span{color:var(--blue2)}.footer small{font:9px Arial,sans-serif;letter-spacing:1px;direction:ltr;display:block}.reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}.reveal.visible{opacity:1;transform:translateY(0)}
html[dir="ltr"] .hero{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}html[dir="ltr"] .hero-copy{text-align:left}html[dir="ltr"] .intro-en{text-align:left}html[dir="ltr"] .hero-visual:before{right:auto;left:-6%}html[dir="ltr"] .photo-caption{right:auto;left:-20px}html[dir="ltr"] .photo-chip{left:auto;right:-14px}html[dir="ltr"] .quick-facts strong,html[dir="ltr"] .section-title>small,html[dir="ltr"] .goal-panel>small{text-align:left}html[dir="ltr"] .about-panel,html[dir="ltr"] .timeline-item,html[dir="ltr"] .nav-item{direction:ltr}html[dir="ltr"] .social-card b,html[dir="ltr"] .social-card small{text-align:left}html[dir="ltr"] .footer{direction:ltr}
@keyframes halo{0%,100%{opacity:.3}50%{opacity:.75}}@keyframes edge{0%,100%{border-color:rgba(117,180,255,.35);box-shadow:0 24px 70px rgba(0,0,0,.65),0 0 12px rgba(30,112,255,.08)}50%{border-color:rgba(117,180,255,.9);box-shadow:0 24px 70px rgba(0,0,0,.65),0 0 22px rgba(30,112,255,.25)}}
@media(max-width:900px){.topbar,.section,.hero{width:min(720px,calc(100% - 36px))}.hero{min-height:0;grid-template-columns:1fr;gap:36px;padding-top:36px;padding-bottom:55px}.hero-visual{width:min(420px,84vw);grid-row:1}.hero-copy{grid-row:2}.interest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.social-list{grid-template-columns:1fr}.section{padding-block:70px}.floating-dock{bottom:12px}}
@media(max-width:600px){.topbar{width:calc(100% - 28px);height:64px}.top-note{display:none}.topbar-right{gap:7px}.header-language{padding:7px 9px;font-size:10px}.brand{font-size:14px;letter-spacing:1px;gap:7px}.brand img{width:30px;height:30px}.hero,.section{width:calc(100% - 30px)}.hero{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding-top:20px;padding-bottom:45px}.hero-visual{width:min(330px,calc(100vw - 52px));max-width:100%;aspect-ratio:3/4;margin-inline:auto;flex:none}.photo-wrap{inset:0;border-radius:24px 68px 24px 24px}.photo-wrap:before{inset:8px;border-radius:18px 50px 18px 18px}.photo-wrap img{object-fit:cover;object-position:center 30%}.hero-visual:before{top:0;right:0;font-size:7px;letter-spacing:1.4px}.hero-visual:after{left:0;bottom:5%;width:38px;height:38px}.photo-chip{top:0;left:0;width:46px;height:46px;border-radius:12px;font-size:18px}.photo-caption{right:0;bottom:7%;padding:10px 12px;max-width:calc(100% - 8px);gap:8px}.photo-caption small{font-size:9px}.hero-copy{width:100%}.intro-en{margin:10px 0 6px;font-size:9px;letter-spacing:2.5px}.hero h1{font-size:clamp(32px,9vw,44px);line-height:1.35}.hero h2{font-size:clamp(14px,4.2vw,17px);line-height:1.65;margin:10px 0}.hero-desc{font-size:12px;line-height:2;margin:12px 0 18px;max-width:none}.actions{gap:8px}.actions .btn{padding:11px 12px;font-size:11px;gap:8px}.quick-facts{gap:clamp(9px,3.8vw,15px);margin-top:22px;flex-wrap:nowrap}.quick-facts strong{font-size:16px}.quick-facts small{font-size:9px}.section{padding-block:48px}.section-title{margin-bottom:20px}.section-title h2{font-size:clamp(24px,7vw,33px);line-height:1.4}.section-title>small{font-size:8px;letter-spacing:1.3px}.about-panel{grid-template-columns:1fr;padding:18px;gap:13px}.panel-symbol{width:44px;height:44px}.about-panel p{font-size:12px;line-height:2}.interest-grid{grid-template-columns:1fr;gap:10px}.interest-card{min-height:175px;padding:19px}.interest-card p{max-width:none}.timeline{padding:20px}.timeline-item{gap:13px;padding-bottom:24px}.timeline-item h3{font-size:15px}.timeline-item p{font-size:11px}.goal-panel{padding:25px 19px}.goal-panel h2{font-size:clamp(28px,8vw,37px)}.goal-panel p{font-size:12px;line-height:2}.social-card{padding:14px}.footer{padding:20px 15px 100px}.floating-dock{bottom:8px;gap:4px;width:calc(100% - 12px);max-width:440px;justify-content:center}.floating-nav{flex:1;min-width:0;max-width:none;gap:0;padding:4px;border-radius:15px}.language-toggle{width:40px;height:40px;flex-basis:40px;flex-shrink:0}.nav-item{min-width:0;flex:1;height:43px;padding:3px 1px;border-radius:10px;gap:2px}.nav-icon svg{width:17px;height:17px}.nav-item>span:last-child{font-size:clamp(7px,2.4vw,9px);line-height:1.1;white-space:nowrap}}
@media(max-width:370px){.topbar,.hero,.section{width:calc(100% - 24px)}.hero-visual{width:min(300px,calc(100vw - 42px))}.quick-facts{gap:7px}.quick-facts small{font-size:8px}.floating-dock{gap:3px}.language-toggle{width:36px;height:36px;flex-basis:36px}.nav-item>span:last-child{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal,.photo-halo,.photo-wrap{animation:none!important;transition:none!important}}

/* Mobile horizontal-scroll lock: allow vertical scrolling only */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
body {
  touch-action: pan-y pinch-zoom;
}
@media (max-width: 600px) {
  #floatingDock, .floating-dock, .floating-nav { max-width: 100%; }
  .section, .hero, .topbar, .footer, main { max-width: 100vw; }
  .hero-visual, .hero-copy, .section-title, .about-panel, .interest-card,
  .timeline, .goal-panel, .social-card { min-width: 0; }
  .actions, .quick-facts { max-width: 100%; }
  img, svg, video, iframe { max-width: 100%; }
}


/* Final layout pass: mobile-first overflow prevention, readable type, balanced dock */
html, body { width:100%; max-width:100%; overflow-x:hidden; }
body { touch-action:pan-y pinch-zoom; }
*, *::before, *::after { min-width:0; }
main, header, footer, section, .hero, .hero-copy, .hero-visual, .section-title,
.about-panel, .interest-grid, .interest-card, .timeline, .goal-panel, .social-list,
.social-card, .floating-dock, .floating-nav { max-width:100%; }
.photo-chip { display:none !important; }
@media (max-width: 760px) {
  .topbar { width:calc(100% - 32px); height:62px; }
  .brand { font-size:16px; }
  .brand img { width:34px; height:34px; }
  .hero, .section { width:calc(100% - 32px); }
  .hero { display:flex; flex-direction:column; gap:26px; padding:24px 0 42px; min-height:0; }
  .hero-visual { width:min(360px, 88vw); max-width:100%; aspect-ratio:4/5; margin:0 auto; }
  .photo-wrap { inset:0; border-radius:25px 78px 25px 25px; }
  .photo-wrap:before { inset:9px; border-radius:19px 58px 19px 19px; }
  .photo-wrap img { object-fit:cover; object-position:50% 22%; }
  .hero-visual:before { top:3%; right:2%; left:auto; font-size:8px; letter-spacing:1.2px; max-width:90%; }
  .hero-visual:after { left:1%; bottom:4%; width:34px; height:34px; }
  .photo-caption { right:10px; left:auto; bottom:10px; max-width:calc(100% - 20px); padding:10px 12px; }
  .photo-caption b { font-size:10px; }
  .photo-caption small { font-size:11px; }
  .hero-copy { text-align:inherit; width:100%; }
  .eyebrow { font-size:13px; padding:10px 14px; max-width:100%; }
  .intro-en { margin:18px 0 8px; font-size:11px; letter-spacing:2px; }
  .hero h1 { font-size:clamp(34px, 8.6vw, 46px); line-height:1.42; letter-spacing:0; overflow-wrap:anywhere; }
  .hero h2 { font-size:clamp(16px, 4.5vw, 19px); line-height:1.8; margin:12px 0; }
  .hero-desc { font-size:14px; line-height:2; margin:15px 0 22px; }
  .actions { display:flex; flex-wrap:wrap; gap:10px; }
  .actions .btn { font-size:13px; padding:12px 15px; min-height:44px; }
  .quick-facts { width:100%; justify-content:space-between; gap:10px; margin-top:25px; }
  .quick-facts strong { font-size:20px; }
  .quick-facts small { font-size:11px; }
  .section { padding-block:58px; }
  .section-title { margin-bottom:22px; }
  .section-title>small, .goal-panel>small { font-size:10px; letter-spacing:1.2px; }
  .section-title h2 { font-size:clamp(27px, 7.5vw, 36px); line-height:1.5; }
  .section-sub { font-size:14px; line-height:1.8; }
  .about-panel { grid-template-columns:1fr; gap:14px; padding:20px; }
  .about-panel p { font-size:14px; line-height:2.1; }
  .interest-grid { grid-template-columns:1fr; gap:12px; }
  .interest-card { min-height:185px; padding:22px; }
  .interest-card h3 { font-size:20px; }
  .interest-card p { font-size:14px; line-height:1.95; }
  .interest-card>small { font-size:10px; }
  .timeline { padding:22px; }
  .timeline-item h3 { font-size:18px; }
  .timeline-item p { font-size:13.5px; line-height:2; }
  .goal-panel { padding:28px 22px; }
  .goal-panel h2 { font-size:clamp(30px, 8vw, 42px); line-height:1.45; }
  .goal-panel p { font-size:14px; line-height:2; }
  .social-list { grid-template-columns:1fr; gap:12px; }
  .social-card { padding:16px; gap:14px; }
  .social-card b { font-size:14px; }
  .social-card small { font-size:12px; }
  /* Bottom navigation uses the available width; no horizontal page movement */
  .floating-dock { position:fixed; bottom:max(8px, env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); width:calc(100% - 20px); max-width:480px; display:flex; align-items:center; gap:6px; direction:ltr; }
  .language-toggle { width:44px; height:44px; flex:0 0 44px; font-size:12px; }
  .floating-nav { flex:1 1 auto; width:auto; min-width:0; display:flex; justify-content:space-between; gap:2px; padding:5px; border-radius:16px; direction:rtl; }
  html[dir="ltr"] .floating-nav { direction:ltr; }
  .nav-item { flex:1 1 0; min-width:0; height:49px; padding:4px 1px; gap:3px; border-radius:11px; }
  .nav-icon svg { width:21px; height:21px; }
  .nav-item>span:last-child { font-size:clamp(9px, 2.6vw, 11px); line-height:1.2; white-space:nowrap; }
  .footer { padding:25px 16px calc(115px + env(safe-area-inset-bottom)); font-size:11px; }
}
@media (max-width:380px) {
  .hero, .section { width:calc(100% - 24px); }
  .hero-visual { width:min(330px, 88vw); }
  .floating-dock { width:calc(100% - 12px); gap:4px; }
  .language-toggle { width:38px; flex-basis:38px; height:40px; }
  .floating-nav { gap:0; padding:4px; }
  .nav-item { height:46px; }
  .nav-icon svg { width:19px; height:19px; }
  .nav-item>span:last-child { font-size:8.5px; }
}
/* LTR language hardening: long words and flex/grid items cannot force page width */
html[dir="ltr"] body, html[dir="ltr"] main { overflow-x:hidden; }
html[dir="ltr"] .hero, html[dir="ltr"] .section, html[dir="ltr"] .hero-copy,
html[dir="ltr"] .hero-visual, html[dir="ltr"] .floating-dock { min-width:0; }
html[dir="ltr"] .hero h1, html[dir="ltr"] .hero h2, html[dir="ltr"] .hero-desc,
html[dir="ltr"] .section-title h2, html[dir="ltr"] .about-panel p,
html[dir="ltr"] .interest-card p, html[dir="ltr"] .timeline-item p,
html[dir="ltr"] .goal-panel p { overflow-wrap:anywhere; }

/* Mobile final tune: full-width readable dock, horizontal overflow prevention */
@media (max-width: 760px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden !important; overscroll-behavior-x:none; }
  body { touch-action:pan-y pinch-zoom; }
  main { width:100%; max-width:100%; padding-bottom:calc(100px + env(safe-area-inset-bottom)); }
  .hero, .section, .topbar, .footer { width:calc(100% - 28px); max-width:calc(100vw - 28px); margin-inline:auto; }
  .hero-visual { width:min(340px, calc(100vw - 46px)); max-width:100%; }
  .photo-wrap { border-radius:22px 64px 22px 22px; }
  .photo-wrap:before { inset:8px; border-radius:16px 48px 16px 16px; }
  .photo-wrap img { object-position:50% 22%; }
  .hero-desc, .about-panel p, .interest-card p, .timeline-item p, .goal-panel p { font-size:14px; line-height:2; }
  .intro-en { font-size:10px; }
  .hero h1 { font-size:clamp(36px, 9.5vw, 46px); }
  .hero h2 { font-size:clamp(16px, 4.7vw, 19px); }
  .section-title h2 { font-size:clamp(27px, 7.5vw, 36px); }
  .floating-dock {
    left:50% !important; right:auto !important; transform:translateX(-50%) !important;
    width:calc(100vw - 18px) !important; max-width:calc(100vw - 18px) !important;
    min-width:0 !important; gap:5px !important;
    bottom:max(8px, env(safe-area-inset-bottom)) !important;
    padding:0 !important; box-sizing:border-box !important;
  }
  .floating-nav {
    width:100% !important; max-width:none !important; min-width:0 !important;
    flex:1 1 auto !important; gap:2px !important; padding:5px !important;
    justify-content:space-between !important; box-sizing:border-box !important;
  }
  .language-toggle { width:44px !important; height:44px !important; flex:0 0 44px !important; font-size:12px !important; }
  .nav-item { flex:1 1 0 !important; width:auto !important; min-width:0 !important; height:52px !important; padding:4px 2px !important; gap:3px !important; }
  .nav-icon svg { width:22px !important; height:22px !important; }
  .nav-item>span:last-child { font-size:clamp(9px, 2.7vw, 11px) !important; line-height:1.15 !important; white-space:nowrap !important; }
}
@media (max-width: 380px) {
  .floating-dock { width:calc(100vw - 12px) !important; max-width:calc(100vw - 12px) !important; gap:3px !important; }
  .language-toggle { flex-basis:40px !important; width:40px !important; height:42px !important; }
  .nav-item { height:49px !important; }
  .nav-icon svg { width:20px !important; height:20px !important; }
  .nav-item>span:last-child { font-size:9px !important; }
}

/* Definitive mobile sizing pass: larger readable type and dock, vertical-only viewport */
@media (max-width: 760px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden !important; }
  body { touch-action:pan-y pinch-zoom; }
  main { width:100%; padding-bottom:calc(120px + env(safe-area-inset-bottom)); }
  .hero, .section, .topbar, .footer { width:calc(100% - 32px) !important; max-width:calc(100vw - 32px) !important; }
  .hero { gap:28px; padding-top:24px; padding-bottom:48px; }
  .hero-visual { width:min(360px, calc(100vw - 48px)) !important; aspect-ratio:4/5; }
  .photo-wrap { border-radius:26px 74px 26px 26px; }
  .photo-wrap:before { inset:10px; border-radius:20px 56px 20px 20px; }
  .photo-wrap img { object-position:50% 24%; }
  .photo-chip { display:none !important; }
  .hero-copy { width:100%; }
  .eyebrow { font-size:14px; padding:10px 15px; }
  .intro-en { font-size:11px; margin:18px 0 8px; }
  .hero h1 { font-size:clamp(38px, 10vw, 48px) !important; line-height:1.45; }
  .hero h2 { font-size:clamp(17px, 4.8vw, 20px) !important; line-height:1.85; }
  .hero-desc { font-size:15px !important; line-height:2.05; }
  .actions .btn { font-size:14px !important; padding:13px 16px; min-height:48px; }
  .quick-facts { margin-top:26px; gap:12px; }
  .quick-facts strong { font-size:21px; }
  .quick-facts small { font-size:12px !important; }
  .section { padding-block:64px !important; }
  .section-title>small, .goal-panel>small { font-size:10px !important; }
  .section-title h2 { font-size:clamp(30px, 8vw, 38px) !important; line-height:1.5; }
  .section-sub { font-size:15px !important; line-height:1.9; }
  .about-panel { padding:22px !important; }
  .about-panel p { font-size:15px !important; line-height:2.15 !important; }
  .interest-card { padding:23px !important; min-height:190px; }
  .interest-card h3 { font-size:21px !important; }
  .interest-card p { font-size:15px !important; line-height:2 !important; }
  .interest-card>small { font-size:11px !important; }
  .timeline-item h3 { font-size:19px !important; }
  .timeline-item p { font-size:14px !important; line-height:2.05 !important; }
  .goal-panel { padding:30px 23px !important; }
  .goal-panel h2 { font-size:clamp(32px, 8.5vw, 44px) !important; }
  .goal-panel p { font-size:15px !important; line-height:2.05 !important; }
  .social-card { padding:17px !important; }
  .social-card b { font-size:15px !important; }
  .social-card small { font-size:13px !important; }
  /* Dock spans almost the full device width and uses larger touch targets */
  #floatingDock.floating-dock { left:50% !important; right:auto !important; transform:translateX(-50%) !important; width:calc(100vw - 24px) !important; max-width:calc(100vw - 24px) !important; min-width:0 !important; display:flex !important; align-items:center !important; gap:7px !important; direction:ltr !important; }
  #floatingDock .language-toggle { width:48px !important; height:48px !important; flex:0 0 48px !important; font-size:13px !important; }
  #floatingDock .floating-nav { width:auto !important; max-width:none !important; min-width:0 !important; flex:1 1 0 !important; display:flex !important; justify-content:space-evenly !important; gap:3px !important; padding:6px !important; direction:rtl !important; }
  html[dir="ltr"] #floatingDock .floating-nav { direction:ltr !important; }
  #floatingDock .nav-item { width:auto !important; min-width:0 !important; flex:1 1 0 !important; height:58px !important; padding:5px 2px !important; gap:4px !important; }
  #floatingDock .nav-icon svg { width:24px !important; height:24px !important; }
  #floatingDock .nav-item>span:last-child { font-size:clamp(11px, 3vw, 12px) !important; line-height:1.2 !important; white-space:nowrap !important; }
  .footer { padding-bottom:calc(135px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 390px) {
  #floatingDock.floating-dock { width:calc(100vw - 16px) !important; max-width:calc(100vw - 16px) !important; gap:5px !important; }
  #floatingDock .language-toggle { flex-basis:44px !important; width:44px !important; height:46px !important; }
  #floatingDock .nav-item { height:54px !important; }
  #floatingDock .nav-icon svg { width:22px !important; height:22px !important; }
  #floatingDock .nav-item>span:last-child { font-size:10px !important; }
}

/* Requested layout cleanup: portrait first, clean hero, centered welcome */
.topbar{display:none!important}
.hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:22px!important;min-height:0!important;padding-top:22px!important;padding-bottom:45px!important}
.hero-visual{order:1!important;width:min(440px,calc(100vw - 42px))!important;max-width:100%!important;margin-inline:auto!important;aspect-ratio:4/5!important}
.hero-copy{order:3!important;width:100%!important;min-width:0!important}
.photo-welcome{order:2!important;display:flex;align-items:center;justify-content:center;gap:14px;width:100%;margin:2px auto 8px;text-align:center;color:#dce8f7;font-size:clamp(15px,2vw,18px);line-height:1.6}
.blue-light{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#1682ff;box-shadow:0 0 9px #1682ff,0 0 20px #1682ff;animation:welcomeBlink 1.2s ease-in-out infinite alternate}
.blue-light:last-child{animation-delay:.6s}
@keyframes welcomeBlink{from{opacity:.25;transform:scale(.8);box-shadow:0 0 3px #1682ff}to{opacity:1;transform:scale(1.25);box-shadow:0 0 10px #1682ff,0 0 22px #1682ff}}
.photo-caption,.photo-chip,.hero-visual:before,.hero-visual:after,.goal-watermark{display:none!important}
.section-title>small,.goal-panel>small{display:none!important}
.social-card small{display:none!important}
.social-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.instagram-logo svg .dot{fill:currentColor;stroke:none}
.telegram-logo svg{fill:currentColor;stroke:rgba(5,10,18,.4);stroke-width:.6}
.rubika-logo svg{fill:none;stroke:currentColor;stroke-width:1.8}
.social-icon{width:46px;height:46px;flex:0 0 46px}
/* Music control is placed beside language switch */
.music-toggle{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(115,175,255,.5);background:#071327;color:#eaf4ff;box-shadow:0 0 15px rgba(24,120,255,.2);cursor:pointer;font-size:15px}
.music-toggle.is-playing{background:#1168dc;box-shadow:0 0 20px rgba(24,120,255,.45)}
.music-symbol{display:block;line-height:1}
.floating-dock{gap:6px}
@media(max-width:760px){
 .hero{width:calc(100% - 28px)!important;gap:18px!important;padding-top:16px!important;padding-bottom:34px!important}
 .hero-visual{width:min(390px,calc(100vw - 34px))!important;aspect-ratio:4/5!important}
 .photo-welcome{font-size:15px;margin:0 auto 4px;gap:12px}
 .hero-copy{order:3!important;text-align:inherit}
 .music-toggle{width:40px;height:40px;flex-basis:40px;font-size:14px}
 #floatingDock.floating-dock{gap:4px!important;width:calc(100vw - 14px)!important;max-width:calc(100vw - 14px)!important}
 #floatingDock .language-toggle{width:42px!important;height:42px!important;flex-basis:42px!important}
 #floatingDock .floating-nav{padding:4px!important;gap:1px!important}
 #floatingDock .nav-item{height:49px!important;padding:3px 1px!important}
 #floatingDock .nav-icon svg{width:21px!important;height:21px!important}
 #floatingDock .nav-item>span:last-child{font-size:clamp(9px,2.6vw,11px)!important}
}
@media(max-width:380px){.music-toggle{width:36px;height:36px;flex-basis:36px}#floatingDock .language-toggle{width:38px!important;height:38px!important;flex-basis:38px!important}#floatingDock .nav-item{height:46px!important}#floatingDock .nav-icon svg{width:19px!important;height:19px!important}}
/* Contact section: icon-only social tiles, no supporting text */
.social-card>span:not(.social-icon),.social-card>em{display:none!important}
.social-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.social-card{justify-content:center!important;padding:14px!important;min-height:70px}
.footer{display:none!important}
